ayttm-commits
[Top][All Lists]
Advanced

[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_/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]