Logging: fix log line for local_scan() rejection
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 26 Nov 2017 15:28:26 +0000 (15:28 +0000)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 3 Dec 2017 18:50:28 +0000 (19:50 +0100)
src/src/receive.c

index cbf85b0..5dc9bb5 100644 (file)
@@ -3794,7 +3794,7 @@ else
       break;
     }
 
-  g = string_append(g, 2, US"F=",
+  g = string_append(NULL, 2, US"F=",
     sender_address[0] == 0 ? US"<>" : sender_address);
   g = add_host_info_for_log(g);