From 167a7d76d96a2e4884b85ac3eb775050b34346de Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 12 Feb 2001 12:17:54 +0000 Subject: Added commented/documented version of libsmbclient.h and fixed up a small problem in libsmbclient.c where we no longer pass the workgroup. (This used to be commit 3c6611434601a45ba448f0313397104c7cea616c) --- source3/libsmb/libsmbclient.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 3afa98b28e..3541028fb8 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -487,9 +487,8 @@ struct smbc_server *smbc_server(char *server, char *share, * and insist that fn must be non-null. */ -int smbc_init(smbc_get_auth_data_fn fn, const char *wgroup, int debug) +int smbc_init(smbc_get_auth_data_fn fn, int debug) { - static pstring workgroup; pstring conf; int p, pid; char *user = NULL, *host = NULL, *home = NULL, *pname="libsmbclient"; @@ -532,7 +531,6 @@ int smbc_init(smbc_get_auth_data_fn fn, const char *wgroup, int debug) */ slprintf(my_netbios_name, 16, "smbc%s%d", user, pid); - pstrcpy(workgroup, wgroup); charset_initialise(); -- cgit