Changeset 286cd48 for lib


Ignore:
Timestamp:
2014-09-27T14:54:35Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d348377
Parents:
0c57277
Message:

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.

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    r0c57277 r286cd48  
    292292
    293293cleanup:
     294        /* Avoid g_source_remove warnings */
     295        req->inpa = 0;
     296
    294297        if( req->ssl )
    295298                ssl_disconnect( req->ssl );
  • lib/ssl_gnutls.c

    r0c57277 r286cd48  
    335335        int st, stver;
    336336       
     337        /* This function returns false, so avoid calling b_event_remove again */
     338        conn->inpa = -1;
     339       
    337340        if( ( st = gnutls_handshake( conn->session ) ) < 0 )
    338341        {
Note: See TracChangeset for help on using the changeset viewer.