Removed debug

This commit is contained in:
James Booth
2014-04-30 22:01:37 +01:00
parent 1155ceabbc
commit 8994b3769c
3 changed files with 12 additions and 64 deletions

View File

@@ -154,9 +154,7 @@ _otr_init(void)
ops.gone_secure = cb_gone_secure;
otrlib_init_ops(&ops);
otrlib_init_timer();
smp_initiators = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
data_loaded = FALSE;
@@ -491,7 +489,7 @@ _otr_encrypt_message(const char * const to, const char * const message)
char *newmessage = NULL;
gcry_error_t err = otrlib_encrypt_message(user_state, &ops, jid, to, message, &newmessage);
if (!err == GPG_ERR_NO_ERROR) {
if (err != 0) {
return NULL;
} else {
return newmessage;