Added bad password test

This commit is contained in:
James Booth
2015-05-24 00:56:13 +01:00
parent 520b2d2598
commit 2241473ee6
5 changed files with 47 additions and 9 deletions

View File

@@ -163,6 +163,8 @@ otr_init(void)
log_info("Initialising OTR");
OTRL_INIT;
jid = NULL;
ops.policy = cb_policy;
ops.is_logged_in = cb_is_logged_in;
ops.inject_message = cb_inject_message;
@@ -181,6 +183,7 @@ otr_shutdown(void)
{
if (jid) {
free(jid);
jid = NULL;
}
}
@@ -747,4 +750,4 @@ void
otr_free_message(char *message)
{
otrl_message_free(message);
}
}