summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmbclient.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-05-05 14:57:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:26 -0500
commit04e8a07bb5545e367a7b5ceed1cd0e25be37f921 (patch)
tree510c31e279b29044c8c46db4a7ba0519675680f8 /source3/libsmb/libsmbclient.c
parent7309594b07c8fc48754c006dd1c1fde3fc3c6b40 (diff)
downloadsamba-04e8a07bb5545e367a7b5ceed1cd0e25be37f921.tar.gz
samba-04e8a07bb5545e367a7b5ceed1cd0e25be37f921.tar.bz2
samba-04e8a07bb5545e367a7b5ceed1cd0e25be37f921.zip
r494: patch from Stephan Kulow <coolo@kde.org> to fix a cut-n-paste error in strlen which caused Konqueror to crash
(This used to be commit 5150b62420f6634391196501d0279ef039a7bcc8)
Diffstat (limited to 'source3/libsmb/libsmbclient.c')
-rw-r--r--source3/libsmb/libsmbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index ebbf28a12d..50af223726 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -1807,7 +1807,7 @@ static SMBCFILE *smbc_opendir_ctx(SMBCCTX *context, const char *fname)
server, sizeof(server),
share, sizeof(share),
path, sizeof(path),
- user, sizeof(path),
+ user, sizeof(user),
password, sizeof(password),
options, sizeof(options))) {
DEBUG(4, ("no valid path\n"));