/soc/2012/michael/android: e0fa4eb464e3: Remved a g_return_... t...

Michael Zangl michael at soc.pidgin.im
Tue Aug 7 05:59:27 EDT 2012


Changeset: e0fa4eb464e31a9d395952150402fe7430633e53
Author:	 Michael Zangl <michael at soc.pidgin.im>
Date:	 2012-08-07 11:58 +0200
Branch:	 soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/e0fa4eb464e3

Description:

Remved a g_return_... that prevented you from giving back empty srv query results.

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
@@ -1032,8 +1032,6 @@ purple_srv_query_resolved(PurpleSrvTxtQu
 	PurpleSrvResponse *records_array;
 	int i = 0, length;
 
-	g_return_if_fail(records != NULL);
-
 	if (query_data->cb.srv == NULL) {
 		purple_srv_txt_query_destroy(query_data);
 



More information about the Commits mailing list