summaryrefslogtreecommitdiffstats
path: root/source/client/smbmount.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-01 18:13:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-09 15:11:54 +0100
commit814bed029efa391e664ac432d0d68dfeab26381f (patch)
tree2ba51d31cd4563cf30dae26604365e57388e6021 /source/client/smbmount.c
parent0ee896827215a24e70a4ac6bde5ded13f9497296 (diff)
downloadsamba-814bed029efa391e664ac432d0d68dfeab26381f.tar.gz
samba-814bed029efa391e664ac432d0d68dfeab26381f.tar.xz
samba-814bed029efa391e664ac432d0d68dfeab26381f.zip
Remove the silly "user_socket_options" global variable
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
Diffstat (limited to 'source/client/smbmount.c')
-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 7befd6ef3c6..5e69cf92a36 100644
--- a/source/client/smbmount.c
+++ b/source/client/smbmount.c
@@ -24,7 +24,6 @@
#include <linux/smb_fs.h>
extern bool in_client;
-extern pstring user_socket_options;
extern char *optarg;
extern int optind;
@@ -807,7 +806,7 @@ static void parse_mount_smb(int argc, char **argv)
} else if(!strcmp(opts, "workgroup")) {
pstrcpy(workgroup,opteq+1);
} else if(!strcmp(opts, "sockopt")) {
- pstrcpy(user_socket_options,opteq+1);
+ lp_do_parameter(-1, "socket options", opteq+1);
} else if(!strcmp(opts, "scope")) {
set_global_scope(opteq+1);
} else {