]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix a stupid typo ...
authorRichard Sharpe <sharpe@samba.org>
Wed, 27 Jun 2001 04:06:13 +0000 (04:06 +0000)
committerRichard Sharpe <sharpe@samba.org>
Wed, 27 Jun 2001 04:06:13 +0000 (04:06 +0000)
source/libsmb/libsmbclient.c

index cdf26e6b235201c8b70c13134c9b9fcc362070ad..bc70dc520b09134be7aec216939ba80031c21a55 100644 (file)
@@ -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;