summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient/testbrowse2.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/testbrowse2.c')
-rw-r--r--examples/libsmbclient/testbrowse2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsmbclient/testbrowse2.c b/examples/libsmbclient/testbrowse2.c
index a3d2cf3b8e2..76d98b9602a 100644
--- a/examples/libsmbclient/testbrowse2.c
+++ b/examples/libsmbclient/testbrowse2.c
@@ -85,7 +85,7 @@ void smbc_auth_fn(
strncpy(wrkgrp, workgroup, wrkgrplen - 1); wrkgrp[wrkgrplen - 1] = 0;
strncpy(user, username, userlen - 1); user[userlen - 1] = 0;
- strncpy(passwd, password, passwdlen - 1); passwd[passwdlen - 1] = 0;
+ strncpy(passwd, password, passwdlen - 1); passwd[passwdlen - 1] = 0;
}
SMBCCTX* create_smbctx(){