diff options
author | Jim McDonough <jmcd@samba.org> | 2002-11-13 01:58:19 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-11-13 01:58:19 +0000 |
commit | fb51582f25223efc9df51866768cb06f4daa1b53 (patch) | |
tree | e24a9d43dc15b73b38cb98c6edf05af34d53ebb9 /source3/client | |
parent | 2f194322d419350f35a48dff750066894d68eccf (diff) | |
download | samba-fb51582f25223efc9df51866768cb06f4daa1b53.tar.gz samba-fb51582f25223efc9df51866768cb06f4daa1b53.tar.bz2 samba-fb51582f25223efc9df51866768cb06f4daa1b53.zip |
Bring smbmount.c in line with jra's global-cide. global_scope was used here...
(This used to be commit 79a0f2c2519b0503a8323fd0babfd18ec59b8d5e)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbmount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index a29ab48ece..d8f5e1b394 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -681,7 +681,6 @@ static void parse_mount_smb(int argc, char **argv) char *opteq; extern char *optarg; int val; - extern pstring global_scope; char *p; if (argc < 2 || argv[1][0] == '-') { @@ -762,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); + pstrcpy(global_scope(),opteq+1); } else { slprintf(p, sizeof(pstring) - (p - options) - 1, "%s=%s,", opts, opteq+1); p += strlen(p); |