1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed segfault in unit tests

This commit is contained in:
James Booth 2015-07-02 19:28:35 +01:00
parent 1329fe14ec
commit b98e119c86

View File

@ -71,6 +71,7 @@ void cmd_rooms_uses_account_default_when_no_arg(void **state)
account->otr_manual = NULL;
account->otr_opportunistic = NULL;
account->otr_always = NULL;
account->pgp_keyid = NULL;
account->muc_service = strdup("default_conf_server");
will_return(jabber_get_connection_status, JABBER_CONNECTED);