mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
This commit is contained in:
@ -33,7 +33,6 @@
|
||||
|
||||
extern pstring user_socket_options;
|
||||
extern BOOL AllowDebugChange;
|
||||
extern pstring global_myname;
|
||||
|
||||
static void popt_common_callback(poptContext con,
|
||||
enum poptCallbackReason reason,
|
||||
@ -84,8 +83,7 @@ static void popt_common_callback(poptContext con,
|
||||
|
||||
case 'n':
|
||||
if (arg) {
|
||||
pstrcpy(global_myname,arg);
|
||||
strupper(global_myname);
|
||||
set_global_myname(arg);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user