summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-13 02:22:39 +0000
committerJeremy Allison <jra@samba.org>2002-11-13 02:22:39 +0000
commitce35c5d0fa62b3940cb76ed6d65712f8e2a15de4 (patch)
tree25d26e800dc818a45839781c42958aff91cac25e /source3
parentfb51582f25223efc9df51866768cb06f4daa1b53 (diff)
downloadsamba-ce35c5d0fa62b3940cb76ed6d65712f8e2a15de4.tar.gz
samba-ce35c5d0fa62b3940cb76ed6d65712f8e2a15de4.tar.bz2
samba-ce35c5d0fa62b3940cb76ed6d65712f8e2a15de4.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 57f7ab45b783f64a3f3337a893ba3ddef953c133)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/smbmount.c2
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);