about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-07-02 19:28:35 +0100
committerJames Booth <boothj5@gmail.com>2015-07-02 19:28:35 +0100
commitb98e119c86f4a12d451221a8925f1ed451103f21 (patch)
treef2ea2151329c930f28e00a3796fe07552bef953b
parent1329fe14ecf9bf9fb2991f3c7784f071bae851f3 (diff)
downloadprofani-tty-b98e119c86f4a12d451221a8925f1ed451103f21.tar.gz
Fixed segfault in unit tests
-rw-r--r--tests/unittests/test_cmd_rooms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/test_cmd_rooms.c b/tests/unittests/test_cmd_rooms.c
index 7a336561..c7439f13 100644
--- a/tests/unittests/test_cmd_rooms.c
+++ b/tests/unittests/test_cmd_rooms.c
@@ -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);