diff options
| author | Sven Moritz Hallberg <pesco@khjk.org> | 2009-03-12 20:10:06 +0100 | 
|---|---|---|
| committer | Sven Moritz Hallberg <pesco@khjk.org> | 2009-03-12 20:10:06 +0100 | 
| commit | 823de9d44f262ea2364ac8ec6a1e18e0f7dab658 (patch) | |
| tree | bfe64e4fafbcd13aaef6a436cab6ad91619e2821 /protocols/yahoo | |
| parent | 9b55485a6f9d72334b372e6fb6b60bbde943170d (diff) | |
commit updates by ashish shukla <wahjava@gmail.com>
Diffstat (limited to 'protocols/yahoo')
| -rw-r--r-- | protocols/yahoo/libyahoo2.c | 2 | ||||
| -rw-r--r-- | protocols/yahoo/yahoo.c | 3 | ||||
| -rw-r--r-- | protocols/yahoo/yahoo_httplib.c | 2 | 
3 files changed, 4 insertions, 3 deletions
| diff --git a/protocols/yahoo/libyahoo2.c b/protocols/yahoo/libyahoo2.c index a61955c4..897ba27b 100644 --- a/protocols/yahoo/libyahoo2.c +++ b/protocols/yahoo/libyahoo2.c @@ -68,6 +68,8 @@ char *strchr (), *strrchr ();  #ifdef __MINGW32__  # include <winsock2.h> +# define write(a,b,c) send(a,b,c,0) +# define read(a,b,c)  recv(a,b,c,0)  #endif  #include <stdlib.h> diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index 0db6e27a..8feb6639 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -665,9 +665,6 @@ void ext_yahoo_error( int id, const char *err, int fatal, int num )  	struct im_connection *ic = byahoo_get_ic_by_id( id );  	imcb_error( ic, "%s", err ); -	 -	if( fatal ) -		imc_logout( ic, TRUE );  }  /* TODO: Clear up the mess of inp and d structures */ diff --git a/protocols/yahoo/yahoo_httplib.c b/protocols/yahoo/yahoo_httplib.c index 1b084992..dbbe2a84 100644 --- a/protocols/yahoo/yahoo_httplib.c +++ b/protocols/yahoo/yahoo_httplib.c @@ -50,6 +50,8 @@ char *strchr (), *strrchr ();  #include "yahoo_debug.h"  #ifdef __MINGW32__  # include <winsock2.h> +# define write(a,b,c) send(a,b,c,0) +# define read(a,b,c)  recv(a,b,c,0)  # define snprintf _snprintf  #endif | 
