/pidgin/main: 715ca05f5798: Fix two novell clang analysis warnings

Tomasz Wasilczyk twasilczyk at pidgin.im
Sun Feb 9 18:51:22 EST 2014


Changeset: 715ca05f5798aaf7db32cc3df8329030672cd19b
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-10 00:51 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/715ca05f5798

Description:

Fix two novell clang analysis warnings

diffstat:

 libpurple/protocols/novell/novell.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/libpurple/protocols/novell/novell.c b/libpurple/protocols/novell/novell.c
--- a/libpurple/protocols/novell/novell.c
+++ b/libpurple/protocols/novell/novell.c
@@ -3347,6 +3347,7 @@ novell_set_permit_deny(PurpleConnection 
 							rc = nm_send_create_privacy_item(user, dn, TRUE,
 															 _create_privacy_item_deny_resp_cb,
 															 g_strdup(dn));
+							_check_for_disconnect(user, rc);
 						}
 					} else {
 						purple_account_privacy_permit_remove(account, (char *)node->data, TRUE);
@@ -3390,6 +3391,7 @@ novell_set_permit_deny(PurpleConnection 
 							rc = nm_send_create_privacy_item(user, dn, FALSE,
 															 _create_privacy_item_deny_resp_cb,
 															 g_strdup(name));
+							_check_for_disconnect(user, rc);
 						}
 					} else {
 						purple_account_privacy_deny_remove(account, (char *)node->data, TRUE);



More information about the Commits mailing list