summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-13 01:58:19 +0000
committerJim McDonough <jmcd@samba.org>2002-11-13 01:58:19 +0000
commit79a0f2c2519b0503a8323fd0babfd18ec59b8d5e (patch)
tree96a64c6fe047c706dafd4383f08220bd86f0e213 /source/client
parentf755711df8f74f9b8e8c1a2b0d07d02a931eeb89 (diff)
downloadsamba-79a0f2c2519b0503a8323fd0babfd18ec59b8d5e.tar.gz
samba-79a0f2c2519b0503a8323fd0babfd18ec59b8d5e.tar.xz
samba-79a0f2c2519b0503a8323fd0babfd18ec59b8d5e.zip
Bring smbmount.c in line with jra's global-cide. global_scope was used here...
Diffstat (limited to 'source/client')
-rw-r--r--source/client/smbmount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index a29ab48ecee..d8f5e1b394f 100644
--- a/source/client/smbmount.c
+++ b/source/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);