AnyEvent::Socket::inet_aton bug & patch

Marc Lehmann schmorp at schmorp.de
Mon Oct 29 19:48:51 CET 2012


On Tue, Sep 11, 2012 at 06:14:45PM +0200, Maxime Soulé <btik-cpan at scoubidou.com> wrote:
> It seems that AnyEvent::Socket::inet_aton function does not work as
> expected.

Hmm, this mail somehow went completely unnoticed by me :/

> Moreover, $ipn variable does not need to be declared again, in the
> first "elsif".

True, but the $ipn's are different variables, so it's a matter of
speed/memory vs. clarity trade-off :)

> The attached patch correct these problems.

Thanks, next version will have this fixed, and sorry for the delay!

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list