Andrew Talbot : mapi32: Write-strings warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 6 06:08:52 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 24dcc8d3cc2e860943f0f502112e5e40caf01201
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=24dcc8d3cc2e860943f0f502112e5e40caf01201

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Jul  3 21:23:15 2006 +0100

mapi32: Write-strings warnings fix.

---

 dlls/mapi32/sendmail.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/mapi32/sendmail.c b/dlls/mapi32/sendmail.c
index 5681c97..e2c41d0 100644
--- a/dlls/mapi32/sendmail.c
+++ b/dlls/mapi32/sendmail.c
@@ -63,7 +63,8 @@ ULONG WINAPI MAPISendMail( LHANDLE sessi
     unsigned int i, to_count = 0, cc_count = 0, bcc_count = 0;
     unsigned int to_size = 0, cc_size = 0, bcc_size = 0, subj_size, body_size;
 
-    char *address = "", *to = NULL, *cc = NULL, *bcc = NULL, *subject, *body;
+    char *to = NULL, *cc = NULL, *bcc = NULL;
+    const char *address, *subject, *body;
     static const char format[] =
         "mailto:\"%s\"?subject=\"%s\"&cc=\"%s\"&bcc=\"%s\"&body=\"%s\"";
     char *mailto = NULL, *escape = NULL;




More information about the wine-cvs mailing list