From 286cd480d844475d545ca90e422e4a0f72f851ca Mon Sep 17 00:00:00 2001 From: dequis Date: Sat, 27 Sep 2014 11:54:35 -0300 Subject: Prevent some "Source ID ## was not found..." warnings These appear in glib 2.40, and, well, are pretty much useless. But people complain about them anyway. Probably fixes trac ticket 1151, at least partially. --- lib/http_client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/http_client.c') diff --git a/lib/http_client.c b/lib/http_client.c index b509c839..18c393f8 100644 --- a/lib/http_client.c +++ b/lib/http_client.c @@ -291,6 +291,9 @@ eof: } cleanup: + /* Avoid g_source_remove warnings */ + req->inpa = 0; + if( req->ssl ) ssl_disconnect( req->ssl ); else -- cgit v1.2.3