From: Paul A. <pal...@ea...> - 2005-08-02 00:36:32
|
On Sunday 31 July 2005 07:28 pm, Christian Magnusson wrote: > I think I found the problem.. I have probably been tired or something > when adding a row in ow_net.c which clears AI_PASSIVE. > The cvs is unreachable for me right now, so could somebody > else checkin the patch later? > > > diff --exclude '*Entries' -ruw cvs/owfs/module/owlib/src/c/ow_net.c > owfs/module/owlib/src/c/ow_net.c > --- cvs/owfs/module/owlib/src/c/ow_net.c 2005-07-30 > 18:00:44.000000000 +0200 > +++ owfs/module/owlib/src/c/ow_net.c 2005-08-01 01:25:35.000000000 > +0200 > @@ -61,7 +61,6 @@ > > memset( &hint, 0, sizeof(struct addrinfo) ) ; > hint.ai_flags = AI_PASSIVE ; > - hint.ai_flags = 0 ; > hint.ai_socktype = SOCK_STREAM ; > hint.ai_family = AF_UNSPEC ; > done. |