comparison libgaim/protocols/silc/ops.c @ 14687:c675559dfdb2

[gaim-migrate @ 17439] Fix Coverity CID 219 - don't pass NULL to strcmp committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 07 Oct 2006 17:05:27 +0000
parents 9d3ff97e8105
children e9b034a7d218
comparison
equal deleted inserted replaced
14686:7c47556216ec 14687:c675559dfdb2
888 continue; 888 continue;
889 b = (GaimBuddy *)bnode; 889 b = (GaimBuddy *)bnode;
890 if (b->account != gc->account) 890 if (b->account != gc->account)
891 continue; 891 continue;
892 f = gaim_blist_node_get_string(bnode, "public-key"); 892 f = gaim_blist_node_get_string(bnode, "public-key");
893 if (!strcmp(f, buf)) 893 if (f && !strcmp(f, buf))
894 goto cont; 894 goto cont;
895 b = NULL;
895 } 896 }
896 } 897 }
897 } 898 }
898 } 899 }
899 cont: 900 cont: