Re: Something strange in client_side.c /Re: Squid code questions from IRC/

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sun, 11 Mar 2007 17:01:05 +0100

sön 2007-03-11 klockan 15:49 +0300 skrev Igor:
> from line #3512:
>
> while (t > conn->in.buf && xisspace(*t))
> t--;
> while (t > conn->in.buf && !xisspace(*t))
> t--;
>
> As far as xisspace() doesn't seem to have side-effects this code makes me guess what's going on here :)

It scans the string backwards one word (t-- steps one character back).

Regards
Henrik

Received on Sun Mar 11 2007 - 10:01:12 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 01 2007 - 12:00:01 MDT