mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 07:16:21 +00:00
jabber.c: use FREE_SET_NULL macro
This commit is contained in:
@@ -106,9 +106,7 @@ jabber_restart(void)
|
|||||||
{
|
{
|
||||||
jabber_conn.conn_status = JABBER_STARTED;
|
jabber_conn.conn_status = JABBER_STARTED;
|
||||||
jabber_conn.presence = PRESENCE_OFFLINE;
|
jabber_conn.presence = PRESENCE_OFFLINE;
|
||||||
if (jabber_conn.status != NULL)
|
FREE_SET_NULL(jabber_conn.status);
|
||||||
free(jabber_conn.status);
|
|
||||||
jabber_conn.status = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jabber_conn_status_t
|
jabber_conn_status_t
|
||||||
|
|||||||
Reference in New Issue
Block a user