Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fc7e6
)
If cleanup_set() gets passed a NULL fnametmp or fname, set
author
Wayne Davison
<wayned@samba.org>
Thu, 10 Nov 2005 16:56:32 +0000
(16:56 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 10 Nov 2005 16:56:32 +0000
(16:56 +0000)
cleanup_fname to NULL.
cleanup.c
patch
|
blob
|
blame
|
history
diff --git
a/cleanup.c
b/cleanup.c
index
78c048a
..
8d490ef
100644
(file)
--- a/
cleanup.c
+++ b/
cleanup.c
@@
-166,7
+166,7
@@
void cleanup_disable(void)
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w)
{
- cleanup_fname = fname
tmp
;
+ cleanup_fname = fname
? fnametmp : NULL
;
cleanup_new_fname = fname;
cleanup_file = file;
cleanup_fd_r = fd_r;