From: Richard Sharpe Date: Wed, 27 Jun 2001 04:06:13 +0000 (+0000) Subject: Fix a stupid typo ... X-Git-Tag: samba-2.2.5pre1~1910^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a873b5dfb52393541c36fea0a5082771a6c8d63;p=thirdparty%2Fsamba.git Fix a stupid typo ... --- diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c index cdf26e6b235..bc70dc520b0 100644 --- a/source/libsmb/libsmbclient.c +++ b/source/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;