1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00

This is C, not C++

This commit is contained in:
Andrew Bartlett 0001-01-01 00:00:00 +00:00
parent 8fb4e210bc
commit 25d210b90b

View File

@ -38,13 +38,13 @@ static fstring smb_user_name;
void set_local_machine_name(const char* local_name, BOOL perm)
{
static BOOL already_perm = False;
fstring tmp_local_machine;
if (already_perm)
return;
already_perm = perm;
fstring tmp_local_machine;
fstrcpy(tmp_local_machine,local_name);
trim_string(tmp_local_machine," "," ");
strlower(tmp_local_machine);
@ -60,13 +60,13 @@ void set_local_machine_name(const char* local_name, BOOL perm)
void set_remote_machine_name(const char* remote_name, BOOL perm)
{
static BOOL already_perm = False;
fstring tmp_remote_machine;
if (already_perm)
return;
already_perm = perm;
fstring tmp_remote_machine;
fstrcpy(tmp_remote_machine,remote_name);
trim_string(tmp_remote_machine," "," ");
strlower(tmp_remote_machine);