On Saturday 03 June 2006 21:26, Andrew Talbot wrote:
subject = message->lpszSubject; body = message->lpszNoteText;
That won't do either because these pointers are dereferenced a few lines further down. How about this patch?
- char *address = "", *to = NULL, *cc = NULL, *bcc = NULL, *subject, *body; + char *to = NULL, *cc = NULL, *bcc = NULL; + const char *subject, *body, *address = "";
-Hans