aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/events_glib.c3
-rw-r--r--lib/http_client.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/events_glib.c b/lib/events_glib.c
index 3fafc872..8f53fbbf 100644
--- a/lib/events_glib.c
+++ b/lib/events_glib.c
@@ -74,6 +74,9 @@ static gboolean gaim_io_invoke(GIOChannel *source, GIOCondition condition, gpoin
GaimIOClosure *closure = data;
b_input_condition gaim_cond = 0;
gboolean st;
+
+ if (condition & G_IO_NVAL)
+ return FALSE;
if (condition & GAIM_READ_COND)
gaim_cond |= B_EV_IO_READ;
diff --git a/lib/http_client.c b/lib/http_client.c
index 514daf80..98a99f7c 100644
--- a/lib/http_client.c
+++ b/lib/http_client.c
@@ -172,7 +172,6 @@ error:
static gboolean http_ssl_connected( gpointer data, int returncode, void *source, b_input_condition cond )
{
- //The returncode is not used at the moment.
struct http_request *req = data;
if( source == NULL )