mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 14:36:22 +00:00
Changing roster handle with no argument clears handle
This commit is contained in:
@@ -80,7 +80,9 @@ p_contact_set_name(const PContact contact, const char * const name)
|
||||
FREE_SET_NULL(contact->name);
|
||||
}
|
||||
|
||||
contact->name = strdup(name);
|
||||
if (name != NULL) {
|
||||
contact->name = strdup(name);
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
||||
Reference in New Issue
Block a user