[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.58,1.59
From: |
Colin Leroy |
Subject: |
Re: [Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.58,1.59 |
Date: |
Sat, 29 Mar 2003 02:23:55 +0100 |
On 28 Mar 2003 at 14h24, Edward L. Haletky <address@hidden> wrote:
Hi,
> +#ifdef __MINGW32__
> + return ay_socket_new(host,port);
> +#else
> eb_local_account * ela = yahoo_find_local_account_by_id(id);
> ay_socket_new_async(host, port, _yahoo_connected, ela);
> errno = EINPROGRESS;
> return -1;
> +#endif
That's wrong: you have to call _yahoo_connected callback.
Something like this should be ok:
#ifdef __MINGW32__
{
eb_local_account * ela =
yahoo_find_local_account_by_id(id);
int sock = ay_socket_new(host,port);
_yahoo_connected(sock, errno, ela);
}
#else
Any comments, Philip ?
--
\|/ ____ \|/ Colin
"@'/ ,. \`@" http://www.geekounet.org/
/_| \__/ |_\
\__U_/
- Prev by Date:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.58,1.59
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.464,1.465 configure.in,1.460,1.461 makeebdll,1.4,1.5
- Previous by thread:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.58,1.59
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.464,1.465 configure.in,1.460,1.461 makeebdll,1.4,1.5
- Index(es):