[exim-cvs] Silence compiler string format warning

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Silence compiler string format warning
Gitweb: http://git.exim.org/exim.git/commitdiff/112b6a936caca17b2520ad81d0374c8aae1e4350
Commit:     112b6a936caca17b2520ad81d0374c8aae1e4350
Parent:     0ea79e187ceaa0d4256d077556e6322a6cf7071c
Author:     Todd Lyons <tlyons@???>
AuthorDate: Tue Oct 22 04:57:40 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Tue Oct 22 04:57:40 2013 -0700


    Silence compiler string format warning
---
 src/src/receive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/receive.c b/src/src/receive.c
index 993d149..072fee9 100644
--- a/src/src/receive.c
+++ b/src/src/receive.c
@@ -3312,7 +3312,7 @@ else
       }
     if (log_msg)       log_write(0, LOG_MAIN, "PRDR %s %s", addr, log_msg);
     else if (user_msg) log_write(0, LOG_MAIN, "PRDR %s %s", addr, user_msg);
-    else               log_write(0, LOG_MAIN, CS msg);
+    else               log_write(0, LOG_MAIN, "%s", CS msg);


     if (rc != OK) { receive_remove_recipient(addr); c--; }
         }