comparison libpurple/protocols/yahoo/yahoo_picture.c @ 27176:4c4c747112e0

This should prevent pidgin from crashing, as reported by the ticket #9426.
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Thu, 25 Jun 2009 08:16:19 +0000
parents 01f1929d0936
children 57ea320e2727
comparison
equal deleted inserted replaced
27175:afcb1d41e557 27176:4c4c747112e0
108 } 108 }
109 109
110 l = l->next; 110 l = l->next;
111 } 111 }
112 112
113 if (!who)
114 return;
115
113 if (!purple_privacy_check(purple_connection_get_account(gc), who)) { 116 if (!purple_privacy_check(purple_connection_get_account(gc), who)) {
114 purple_debug_info("yahoo", "Picture packet from %s dropped.\n", who); 117 purple_debug_info("yahoo", "Picture packet from %s dropped.\n", who);
115 return; 118 return;
116 } 119 }
117 120