Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: User-Agent for the Client
Home

[Freeciv-Dev] Re: User-Agent for the Client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: User-Agent for the Client
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Wed, 15 Aug 2001 14:50:10 +0200

Paul Zastoupil writes:
 > On Tue, Aug 14, 2001 at 04:05:11PM -0700, Paul Zastoupil wrote:
 > > On Tue, Aug 14, 2001 at 03:57:37PM -0700, Paul Zastoupil wrote:
 > > > Having a look at all the /metaserver/ requests on the Freeciv webserver, 
 > > > I thought it would be nice
 > > > to know where those are coming from.
 > > > 
 > > > I propose the following patch:
 > > > 
 > > 
 > > Ugh, portablility strikes again....
 > > 
 > > Someone please check, I don't really know what I am doing in the second
 > > half.
 > 
 > And according to RFC 1945 it should be Product/version....
You have three times the string "User-Agent: Freeciv.."
One does not contain the slash. To avoid such typos
I suggest to use a my_snprintf to fill a buffer and send it then.
I have tested the following patch with and without HAVE_FDOPEN.

Greetings
Andreas Kemnade

Attachment: ua.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]