Added bad password test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user