Hi,

On Wed, Nov 09, 2005 at 12:07:57AM +0800, Dmitry Timoshkov wrote:
> "Vijay Kiran Kamuju" [EMAIL PROTECTED] wrote:
> > +  char useragent[] = {'W','i','n','i','n','e','t',' ','T','e','s','t',0 };
> 
> char useragent[] = "Wininet Test";
> 
> works just fine.

Maybe it works, but not "fine" ;)

static const char useragent[] = "Wininet Test";

does.

Andreas

-- 
"The user-friendly computer is a red herring. The user-friendliness of
a book just makes it easier to turn pages. There's nothing
user-friendly about learning to read."
-Alan Kay


Reply via email to