diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-01 18:13:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-11-09 15:11:54 +0100 |
commit | e63bcdd720d801df278ef84063c46144df087793 (patch) | |
tree | 5855a53c5612026b7b45836222d866f2f2088b86 /source3/client/smbmount.c | |
parent | 9e5ef9a87424ce02d114c702c238fcd14a92de01 (diff) | |
download | samba-e63bcdd720d801df278ef84063c46144df087793.tar.gz samba-e63bcdd720d801df278ef84063c46144df087793.tar.bz2 samba-e63bcdd720d801df278ef84063c46144df087793.zip |
Remove the silly "user_socket_options" global variable
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
(This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
Diffstat (limited to 'source3/client/smbmount.c')
-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 7befd6ef3c..5e69cf92a3 100644 --- a/source3/client/smbmount.c +++ b/source3/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 { |