Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4637) Client patch to add tileset to meta request
Home

[Freeciv-Dev] Re: (PR#4637) Client patch to add tileset to meta request

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: paul@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4637) Client patch to add tileset to meta request
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jul 2003 10:01:36 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Paul Zastoupil wrote:
> There was a discussion about who was using iso and who wasn't so I
> wanted to have this logged along with the client.  Then I can track it
> at the metaserver end.

default_tileset is already in options.h.  Try this patch instead.

jason

? client/diff
Index: client/clinet.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/clinet.c,v
retrieving revision 1.87
diff -u -r1.87 clinet.c
--- client/clinet.c     2003/07/10 03:34:29     1.87
+++ client/clinet.c     2003/07/21 17:01:17
@@ -72,6 +72,7 @@
 #include "gui_main_g.h"                /* add_net_input(), remove_net_input() 
*/
 #include "mapview_common.h"    /* unqueue_mapview_update */
 #include "messagewin_g.h"
+#include "options.h"
 #include "packhand.h"
 #include "plrdlg_g.h"
 #include "repodlgs_g.h"
@@ -596,13 +597,14 @@
 #endif /* HAVE_UNAME */
 
   my_snprintf(str,sizeof(str),
-              "GET %s%s%s HTTP/1.0\r\nUser-Agent: Freeciv/%s %s %s\r\n\r\n",
+              "GET %s%s%s HTTP/1.0\r\nUser-Agent: Freeciv/%s %s %s %s\r\n\r\n",
               proxy_url ? "" : "/",
               urlpath,
               proxy_url ? metaserver : "",
               VERSION_STRING,
               client_string,
-              machine_string);
+              machine_string,
+              default_tileset_name);
 
   f = my_querysocket(s, str, strlen(str));
 

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