diff options
author | James Booth <boothj5@gmail.com> | 2013-02-27 20:56:04 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-02-27 20:56:04 +0000 |
commit | 83171aff5bf5b97f3fd237e58854f2157213629c (patch) | |
tree | fe7f1f554d91b0df7f61f004e99ddd75fb3dd1d1 /src/xmpp | |
parent | 2ecf20195c724d9d14a3487b02a036833b0f52c9 (diff) | |
download | profani-tty-83171aff5bf5b97f3fd237e58854f2157213629c.tar.gz |
Replace FREE_SET_NULLs with function call
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/connection.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index e8900c71..68bdcb3e 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -440,10 +440,7 @@ _connection_handler(xmpp_conn_t * const conn, saved_account.name = strdup(saved_details.name); saved_account.passwd = strdup(saved_details.passwd); - FREE_SET_NULL(saved_details.name); - FREE_SET_NULL(saved_details.jid); - FREE_SET_NULL(saved_details.passwd); - FREE_SET_NULL(saved_details.altdomain); + _connection_free_saved_details(); } chat_sessions_init(); |