diff options
Diffstat (limited to 'source3/lib/netapi/examples')
-rw-r--r-- | source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index 50c22d9009..a2582a1d1f 100644 --- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c +++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c @@ -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) { |