diff options
author | Derrell Lipman <derrell@samba.org> | 2006-09-03 01:37:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:48 -0500 |
commit | fc5b6e4bd8a67994b0c56d1223c74d064164420f (patch) | |
tree | 42b677728a64aee9dbac4360a72b957c19740c1d /examples | |
parent | fa664b24b829f973156486896575c1007b6d7b01 (diff) | |
download | samba-fc5b6e4bd8a67994b0c56d1223c74d064164420f.tar.gz |
r18012: Should fix bug 4018.
NetApp filers expect paths in Open AndX Request to have a leading slash.
Windows clients send the leading slash, so we should too.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libsmbclient/testread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/libsmbclient/testread.c b/examples/libsmbclient/testread.c index 1f1219ca849..d59fc70ec11 100644 --- a/examples/libsmbclient/testread.c +++ b/examples/libsmbclient/testread.c @@ -55,6 +55,7 @@ int main(int argc, char * argv[]) { ret = smbc_read(fd, buffer, sizeof(buffer)); savedErrno = errno; + if (ret > 0) fwrite(buffer, 1, ret, stdout); } while (ret > 0); smbc_close(fd); |