On Sat, 2006-02-04 at 09:16 +0530, Vijay Kiran Kamuju wrote:
I have initialized it the starting of the code. see newlen=len=strlen(useragent)+1; Are you talking about the first one, (i could see only one near the begining).
Yes, apparently I overlooked that one, sorry. I'd suggest to initialize len variable before each call where it's actually used and get rid of newlen variable, it's actually not used and in one place it's checked instead of the len.