[gaim-migrate @ 14560]

Tue, 29 Nov 2005 22:57:17 +0000

author
Bartosz Oler <bartosz@pidgin.im>
date
Tue, 29 Nov 2005 22:57:17 +0000
changeset 12258
e19d2dc6d0b3
parent 12257
bc979ba39363
child 12259
23c20f8ffbef

[gaim-migrate @ 14560]
Bartosz Oler submitted patches with two different blocks of error handling. I thought the more, the better, so I accepted both. He disagrees.

committer: Richard Laager <rlaager@pidgin.im>

src/protocols/gg/gg.c file | annotate | diff | comparison | revisions
--- a/src/protocols/gg/gg.c	Tue Nov 29 19:26:03 2005 +0000
+++ b/src/protocols/gg/gg.c	Tue Nov 29 22:57:17 2005 +0000
@@ -1038,16 +1038,6 @@
 				(GaimNotifyCloseCallback)ggp_sr_close_cb,
 				gaim_connection_get_account(gc));
 
-		if (h == NULL) {
-			gaim_debug_error("gg", "ggp_pubdir_reply_handler: "
-					 "Unable to display the search results.\n");
-			gaim_notify_error(gc, NULL,
-					  _("Unable to display the search results."),
-					  NULL);
-			ggp_sr_close_cb(gaim_connection_get_account(gc));
-			return;
-		}
-
 		info->searchresults_window = h;
 	} else {
 		gaim_notify_searchresults_new_rows(gc, results,

mercurial