X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fdaemon.c;h=37fefd4b1d96566401f2087825f117c539b670ef;hb=d4fd1b83a197d73cbac114fe53f3448d8b5c7cc2;hp=7d55287858d067e87f9129f1d4d56a7c95855f1b;hpb=94e1f16d6033683bdebaf5092f64c58bc044dd2d;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/daemon.c b/src/src/daemon.c index 7d5528785..37fefd4b1 100644 --- a/src/src/daemon.c +++ b/src/src/daemon.c @@ -144,8 +144,7 @@ EXIM_SOCKLEN_T ifsize = sizeof(interface_sockaddr); int dup_accept_socket = -1; int max_for_this_host = 0; int save_log_selector = *log_selector; -gstring * whofrom = NULL; -uschar * whofrom_s; +gstring * whofrom; void *reset_point = store_get(0); @@ -200,7 +199,7 @@ DEBUG(D_interface) debug_printf("interface address=%s port=%d\n", the local interface data. This is for logging; at the end of this function the memory is reclaimed. */ -whofrom = string_append(whofrom, 3, "[", sender_host_address, "]"); +whofrom = string_append(NULL, 3, "[", sender_host_address, "]"); if (LOGGING(incoming_port)) whofrom = string_append(whofrom, 2, ":", string_sprintf("%d", sender_host_port));