Bring smbmount.c in line with jra's global-cide. global_scope was used here...
authorJim McDonough <jmcd@samba.org>
Wed, 13 Nov 2002 01:58:19 +0000 (01:58 +0000)
committerJim McDonough <jmcd@samba.org>
Wed, 13 Nov 2002 01:58:19 +0000 (01:58 +0000)
source/client/smbmount.c

index a29ab48ecee6c545b5f3768dcc863525fd290899..d8f5e1b394f2e20911d4bccd96464beb6e250402 100644 (file)
@@ -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);