0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-07-26 12:14:28 -04:00

Use null check convention in otrlibv4.c

This commit is contained in:
James Booth 2015-05-04 22:55:28 +01:00
parent 2426a7fcfc
commit fa2e33e11d

View File

@ -253,7 +253,7 @@ otrlib_end_session(OtrlUserState user_state, const char * const recipient, char
ConnContext *context = otrl_context_find(user_state, recipient, jid, "xmpp", ConnContext *context = otrl_context_find(user_state, recipient, jid, "xmpp",
OTRL_INSTAG_MASTER, 0, NULL, NULL, NULL); OTRL_INSTAG_MASTER, 0, NULL, NULL, NULL);
if (context != NULL) { if (context) {
otrl_message_disconnect(user_state, ops, NULL, jid, "xmpp", recipient, 0); otrl_message_disconnect(user_state, ops, NULL, jid, "xmpp", recipient, 0);
} }
} }