diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-02-12 12:17:54 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-02-12 12:17:54 +0000 |
commit | 167a7d76d96a2e4884b85ac3eb775050b34346de (patch) | |
tree | 5b8b5621f75794432825ccc5fa5e01769c4e7bee /source3/libsmb | |
parent | 13577addd7b0fb492d9aa39d015e5bd471c99718 (diff) | |
download | samba-167a7d76d96a2e4884b85ac3eb775050b34346de.tar.gz samba-167a7d76d96a2e4884b85ac3eb775050b34346de.tar.bz2 samba-167a7d76d96a2e4884b85ac3eb775050b34346de.zip |
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)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
1 files changed, 1 insertions, 3 deletions
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(); |