Hi,
I did initialize at the start when we use it first time i dont have problems. And later where ever i am using that i have initialized it. oops regarding the newlen check i will change that. If dont use the newlen variable, on windows the test will definitely crash.
Thanks, VJ
On 2/4/06, Dmitry Timoshkov dmitry@codeweavers.com wrote:
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.
-- Dmitry.