[gnet-dev] Re: Win32 message processing bugfix

Hans Petter,

Thanks for the patch. I have made the change in CVS.

*src/gnet-private.c (gnet_MainCallBack): Make PeekMessage() condition of while loop. 
Found by Hans Petter Jansson <hpj ximian com>.

Andy Lanoix

In a message dated 7/30/2003 11:48:26 AM Eastern Daylight Time, hpj ximian com writes:

> I had this GNet/win32 patch lying around on my system. I made it against
> CVS over a month ago, so the bug may already have been fixed.
> It fixes a problem that lead to name lookup results not being processed
> when you triggered more than one lookup in a short time interval. The
> callback now processes all pending windows messages when it's invoked.
> The indenting might be a bit weird, but I found two different styles in
> the source already there, and wasn't sure which to go with. 
> Hope it's
> useful anyway.
> -- 
> Hans Petter

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]