Changeset d52111a
- Timestamp:
- 2007-12-12T21:36:33Z (17 years ago)
- Branches:
- master
- Children:
- 30ce1ce
- Parents:
- 0f47613
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r0f47613 rd52111a 44 44 #include <resolv.h> 45 45 #endif 46 47 #include "ssl_client.h" 46 48 47 49 void strip_linefeed(gchar *text) … … 591 593 return g_string_free( ret, FALSE ); 592 594 } 595 596 gboolean ssl_sockerr_again( void *ssl ) 597 { 598 if( ssl ) 599 return ssl_errno == SSL_AGAIN; 600 else 601 return sockerr_again(); 602 } -
lib/misc.h
r0f47613 rd52111a 66 66 G_MODULE_EXPORT char *word_wrap( char *msg, int line_len ); 67 67 68 G_MODULE_EXPORT gboolean ssl_sockerr_again( void *ssl ); 69 68 70 #endif -
protocols/jabber/io.c
r0f47613 rd52111a 120 120 return TRUE; 121 121 } 122 else if( st == 0 || ( st < 0 && !s ockerr_again() ) )122 else if( st == 0 || ( st < 0 && !ssl_sockerr_again( jd->ssl ) ) ) 123 123 { 124 124 /* Set fd to -1 to make sure we won't write to it anymore. */ … … 231 231 } 232 232 } 233 else if( st == 0 || ( st < 0 && !s ockerr_again() ) )233 else if( st == 0 || ( st < 0 && !ssl_sockerr_again( jd->ssl ) ) ) 234 234 { 235 235 closesocket( jd->fd );
Note: See TracChangeset
for help on using the changeset viewer.