[exim-cvs] Fix string_unprinting()

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix string_unprinting()
Gitweb: http://git.exim.org/exim.git/commitdiff/823ad74fc28c27c9b673fcb137c84475ef9dab3f
Commit:     823ad74fc28c27c9b673fcb137c84475ef9dab3f
Parent:     d9784128d573baed950d9b0c6aef1c864c33b4b4
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Mar 23 22:53:06 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Mar 23 22:53:06 2014 +0000


    Fix string_unprinting()
---
 src/src/string.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/src/src/string.c b/src/src/string.c
index 94d61b1..6f54cc6 100644
--- a/src/src/string.c
+++ b/src/src/string.c
@@ -374,7 +374,8 @@ while (*p)
   {
   if (*p == '\\')
     {
-    *q = string_interpret_escape(&p);
+    *q++ = string_interpret_escape(&p);
+    p++;
     }
   else
     {