* wrong pointer...
authorWilfried Göesgens <willi@citadel.org>
Fri, 12 Feb 2010 23:59:53 +0000 (23:59 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 12 Feb 2010 23:59:53 +0000 (23:59 +0000)
citadel/modules/smtp/serv_smtp.c

index 152c1b26a461747fd88958bf37c859eb439b5d5e..a25303e87a3143dfe4af253e3b8bb967561b925b 100644 (file)
@@ -693,7 +693,7 @@ void smtp_data(void) {
        datestring(nowstamp, sizeof nowstamp, time(NULL), DATESTRING_RFC822);
        defbody = malloc(4096);
 
-       if (body != NULL) {
+       if (defbody != NULL) {
                if (sSMTP->is_lmtp && (CC->cs_UDSclientUID != -1)) {
                        snprintf(defbody, 4096,
                               "Received: from %s (Citadel from userid %ld)\n"