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

2007-03-11 Thread Henrik Nordstrom
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

Re[2]: Something strange in client_side.c /Re: Squid code questionsfrom IRC/

2007-03-11 Thread Igor
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).