git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e5c6a
)
Fix return code.
author
Charles
<neologix@free.fr>
Sun, 9 Mar 2008 18:52:29 +0000
(19:52 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 9 Mar 2008 18:52:29 +0000
(19:52 +0100)
source/utils/smbget.c
patch
|
blob
|
history
diff --git
a/source/utils/smbget.c
b/source/utils/smbget.c
index 1b916c8563b7b45327049215023651c2db5853d9..e8fd6be6e675f7c108c4cdc39639b747ff3ca19c 100644
(file)
--- a/
source/utils/smbget.c
+++ b/
source/utils/smbget.c
@@
-319,7
+319,7
@@
static int smb_download_file(const char *base, const char *name, int recursive,
fprintf(stderr, "Can't open %s : %s\n", newpath,
strerror(errno));
smbc_close(remotehandle);
- return
1
;
+ return
0
;
}
/* no offset */
} else if(!send_stdout) {