summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-06-27 04:06:13 +0000
committerRichard Sharpe <sharpe@samba.org>2001-06-27 04:06:13 +0000
commit8831dcd59de347c9ca000ee9f3b6331399bbc425 (patch)
treeac86c53c075679d61338ae433abebcb9958d5ae3 /source3/libsmb
parentd6ffe900c934655410fffc67387f16784ee6303e (diff)
downloadsamba-8831dcd59de347c9ca000ee9f3b6331399bbc425.tar.gz
samba-8831dcd59de347c9ca000ee9f3b6331399bbc425.tar.bz2
samba-8831dcd59de347c9ca000ee9f3b6331399bbc425.zip
Fix a stupid typo ...
(This used to be commit 8a873b5dfb52393541c36fea0a5082771a6c8d63)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index cdf26e6b23..bc70dc520b 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -121,7 +121,7 @@ smbc_parse_path(const char *fname, char *server, char *share, char *path,
if (*p == '/') {
- strncpy(server, lp_workgroup(), 16); /* FIXME: Danger here */
+ strncpy(server, (char *)lp_workgroup(), 16); /* FIXME: Danger here */
return 0;
}
@@ -412,7 +412,7 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug)
}
- if (smbc_initialize) { /* Don't go through this if we have already done it */
+ if (smbc_initialized) { /* Don't go through this if we have already done it */
return 0;