libpurple/protocols.c

branch
soc.2013.gobjectification.plugins
changeset 36629
b3db84cfb283
parent 36627
a3b0d16f69ef
child 36631
972b9fbb3690
equal deleted inserted replaced
36628:3d43ca8d69ee 36629:b3db84cfb283
735 * Protocols API 735 * Protocols API
736 **************************************************************************/ 736 **************************************************************************/
737 PurpleProtocol * 737 PurpleProtocol *
738 purple_protocols_find(const char *id) 738 purple_protocols_find(const char *id)
739 { 739 {
740 g_return_if_fail(protocols != NULL && id != NULL); 740 g_return_val_if_fail(protocols != NULL && id != NULL, NULL);
741 741
742 return g_hash_table_lookup(protocols, id); 742 return g_hash_table_lookup(protocols, id);
743 } 743 }
744 744
745 PurpleProtocol * 745 PurpleProtocol *

mercurial