summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-13 01:54:44 +0000
committerJim McDonough <jmcd@samba.org>2002-11-13 01:54:44 +0000
commitc8d96f887d417de4ce5f249f93ac659055a05ea2 (patch)
tree8eae10fe31851e48b2a8e7ed8261a25acf2a1341 /source3/client
parentdb7377977c6a9dddc49ee4ef02c9e12e85632ff3 (diff)
downloadsamba-c8d96f887d417de4ce5f249f93ac659055a05ea2.tar.gz
samba-c8d96f887d417de4ce5f249f93ac659055a05ea2.tar.bz2
samba-c8d96f887d417de4ce5f249f93ac659055a05ea2.zip
Bring smbmount.c in line with jra's global-cide. global_scope was used here...
(This used to be commit 5170a9f7ffac93c619358353834bc3024a6746d2)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/smbmount.c3
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);