X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1ba6468f1bdaec43884b4d01d65834c8ab3312df..aa0e6b9977eff5c5433239a916623a4a3e8a67cb:/clientserver.c diff --git a/clientserver.c b/clientserver.c index a9a1af58..93deb7e6 100644 --- a/clientserver.c +++ b/clientserver.c @@ -505,7 +505,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) if ((p = strstr(module_dir, "/./")) != NULL) { *p = '\0'; p += 2; - } else if ((p = strdup("/")) == NULL) + } else if ((p = strdup("/")) == NULL) /* MEMORY LEAK */ out_of_memory("rsync_module"); }