diff options
author | Jeremy Allison <jra@samba.org> | 2002-11-13 02:21:55 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-11-13 02:21:55 +0000 |
commit | 2bd37f8565363f53ba8ba0d68cd47429ccaa2991 (patch) | |
tree | 4ca09772b1125107e228ebb4c9b7d339e5034a57 /source3/client | |
parent | c8d96f887d417de4ce5f249f93ac659055a05ea2 (diff) | |
download | samba-2bd37f8565363f53ba8ba0d68cd47429ccaa2991.tar.gz samba-2bd37f8565363f53ba8ba0d68cd47429ccaa2991.tar.bz2 samba-2bd37f8565363f53ba8ba0d68cd47429ccaa2991.zip |
Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()
to ensure the malloc is done.
Jeremy.
(This used to be commit e57853000aacc61ba3c73907a7afb85385b378c3)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index d8f5e1b394..33adfc4d48 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -761,7 +761,7 @@ static void parse_mount_smb(int argc, char **argv) } else if(!strcmp(opts, "sockopt")) { pstrcpy(user_socket_options,opteq+1); } else if(!strcmp(opts, "scope")) { - pstrcpy(global_scope(),opteq+1); + set_global_scope(opteq+1); } else { slprintf(p, sizeof(pstring) - (p - options) - 1, "%s=%s,", opts, opteq+1); p += strlen(p); |