/soc/2012/michael/android: 48792c02ca23: removed null check that...

Michael Zangl michael at soc.pidgin.im
Wed Aug 15 06:14:16 EDT 2012


Changeset: 48792c02ca23ea8d3069ece1e1c0db8b2b5b5782
Author:	 Michael Zangl <michael at soc.pidgin.im>
Date:	 2012-08-15 11:50 +0200
Branch:	 soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/48792c02ca23

Description:

removed null check that prevented you from returning empty txt queries.

diffstat:

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

diffs (12 lines):

diff --git a/libpurple/dnssrv.c b/libpurple/dnssrv.c
--- a/libpurple/dnssrv.c
+++ b/libpurple/dnssrv.c
@@ -1069,8 +1069,6 @@ purple_srv_query_resolved(PurpleSrvTxtQu
 static void
 purple_txt_query_resolved(PurpleSrvTxtQueryData *query_data, GList *entries)
 {
-	g_return_if_fail(entries != NULL);
-
 	purple_debug_info("dnssrv", "TXT entries resolved for %s, count: %d\n", query_data->query, g_list_length(entries));
 
 	/* the callback should g_free the entries.



More information about the Commits mailing list