mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 22:46:21 +00:00
Fixed error clearing contact list
This commit is contained in:
@@ -31,7 +31,6 @@ Resource * resource_new(const char * const name, const char * const show,
|
||||
const char * const status, const int priority, const char * const caps_str)
|
||||
{
|
||||
assert(name != NULL);
|
||||
assert(show != NULL);
|
||||
Resource *new_resource = malloc(sizeof(struct resource_t));
|
||||
new_resource->name = strdup(name);
|
||||
if (show == NULL || (strcmp(show, "") == 0))
|
||||
|
||||
Reference in New Issue
Block a user