Fix printf-like format call

This commit is contained in:
Nedko Arnaudov 2009-05-24 11:34:18 +03:00
parent 5d4938eece
commit 5693cdadbf
1 changed files with 2 additions and 2 deletions

View File

@ -653,11 +653,11 @@ lash_dbus_client_name_changed(method_call_t *call)
return;
}
lash_debug("Setting new client name to '%s'", new_name);
if (!new_name[0])
new_name = NULL;
lash_debug("Setting new client name to '%s'");
lash_strset(&client_ptr->name, new_name);
/* Call ClientNameChanged callback */