1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s3: Use \0 instead of NULL when 0-terminating a string

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke
2011-04-17 11:32:28 +02:00
committed by Volker Lendecke
parent ca5dcf2412
commit 0bf7c96464

View File

@ -478,7 +478,7 @@ static void callback_do_hostname_change(GtkWidget *widget,
p = strchr(newname, '.');
if (p) {
*p = NULL;
*p = '\0';
}
if (!state->account || !state->password) {