Changeset d52111a for lib/misc.c


Ignore:
Timestamp:
2007-12-12T21:36:33Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
30ce1ce
Parents:
0f47613
Message:

Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU
usage bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r0f47613 rd52111a  
    4444#include <resolv.h>
    4545#endif
     46
     47#include "ssl_client.h"
    4648
    4749void strip_linefeed(gchar *text)
     
    591593        return g_string_free( ret, FALSE );
    592594}
     595
     596gboolean ssl_sockerr_again( void *ssl )
     597{
     598        if( ssl )
     599                return ssl_errno == SSL_AGAIN;
     600        else
     601                return sockerr_again();
     602}
Note: See TracChangeset for help on using the changeset viewer.