Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the buffer-has-space check in write_buf().
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
00da2db
..
038214f
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-404,7
+404,7
@@
static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, in
cmd = rsh_env;
if (!cmd)
cmd = RSYNC_RSH;
cmd = rsh_env;
if (!cmd)
cmd = RSYNC_RSH;
- cmd = strdup(cmd); /*
MEMORY LEAK
*/
+ cmd = strdup(cmd); /*
MEMORY LEAK
*/
if (!cmd)
goto oom;
if (!cmd)
goto oom;