From e63bcdd720d801df278ef84063c46144df087793 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 1 Nov 2007 18:13:00 +0100 Subject: 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) --- source3/client/smbmount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/client') 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 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 { -- cgit