Re: cvs commit: squid/src tools.c

2007-05-21 Thread Henrik Nordstrom
sön 2007-05-20 klockan 23:53 -0600 skrev Adrian Chadd:

   use inet_ntoa() for now; my optimised code was getting the octets backward
   on my PPC; even when I tried using ntohl(). I'll fix this one day..

ntohl is a nop on PPC and other big-endian systems..

You need to parse the address in host order, then use htonl to mangle it
into the common network byte order..

Or alternatively parse it raw into network byte order by using a char*.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: cvs commit: squid/src tools.c

2005-04-25 Thread Henrik Nordstrom
On Mon, 25 Apr 2005, Serassio Guido wrote:
Hi Henrik,
Il 22.45 22/04/2005 [EMAIL PROTECTED] ha scritto:
hno 2005/04/22 14:45:12 MDT
  Modified files:(Branch: SQUID_2_5)
src  tools.c
  Log:
  Bug #1157: PID file check error when chrooting
This shouldn't be applied in Squid 3 too ?
Probably.
Regards
Henrik