changeset 2477:8530d4d72fab

[gaim-migrate @ 2490] this way we can do our own check. isn't that nice committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 10 Oct 2001 20:23:25 +0000
parents ec21ec04cdeb
children ad4a0b3f0032
files src/proxy.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Wed Oct 10 20:21:24 2001 +0000
+++ b/src/proxy.c	Wed Oct 10 20:23:25 2001 +0000
@@ -112,7 +112,8 @@
 void gaim_input_remove(gint tag)
 {
 	debug_printf("CLOSURE: removing input watcher %d\n", tag);
-	g_source_remove(tag);
+	if (tag > 0)
+		g_source_remove(tag);
 }
 
 static void no_one_calls(gpointer data, gint source, GaimInputCondition cond)