Moved FREE_SET_NULL to common.h

This commit is contained in:
James Booth
2013-01-13 01:43:18 +00:00
parent 0827ac344f
commit b6f3667390
2 changed files with 8 additions and 8 deletions

View File

@@ -88,14 +88,6 @@ static int _presence_handler(xmpp_conn_t * const conn,
xmpp_stanza_t * const stanza, void * const userdata);
static int _ping_timed_handler(xmpp_conn_t * const conn, void * const userdata);
#define FREE_SET_NULL(resource) \
{ \
if (resource != NULL) { \
free(resource); \
resource = NULL; \
} \
}
void
jabber_init(const int disable_tls)
{