/soc/2013/ankitkv/gobjectification: b3db84cfb283: Fixed a check
Ankit Vani
a at nevitus.org
Sat Aug 31 16:12:05 EDT 2013
Changeset: b3db84cfb28380d3485184c7da232614b62d3cc8
Author: Ankit Vani <a at nevitus.org>
Date: 2013-09-01 01:41 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/b3db84cfb283
Description:
Fixed a check
diffstat:
libpurple/protocols.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/protocols.c b/libpurple/protocols.c
--- a/libpurple/protocols.c
+++ b/libpurple/protocols.c
@@ -737,7 +737,7 @@ purple_protocol_action_get_type(void)
PurpleProtocol *
purple_protocols_find(const char *id)
{
- g_return_if_fail(protocols != NULL && id != NULL);
+ g_return_val_if_fail(protocols != NULL && id != NULL, NULL);
return g_hash_table_lookup(protocols, id);
}
More information about the Commits
mailing list