X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/18f3cb6957b10cff7719e80553c17589d382dd3c..df476bfcff992fb66765d338128dffcf58369722:/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"); }