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

[Freeciv-Dev] (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: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4637) Client patch to add tileset to meta request
From: "Paul Zastoupil" <paul@xxxxxxxxxxxxx>
Date: Mon, 21 Jul 2003 09:51:30 -0700
Reply-to: rt@xxxxxxxxxxxxxx

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.


-- 
Paul Zastoupil

? autom4te-2.53.cache
? z
Index: client/civclient.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/civclient.h,v
retrieving revision 1.30
diff -u -r1.30 civclient.h
--- client/civclient.h  2003/07/10 03:34:29     1.30
+++ client/civclient.h  2003/07/21 16:33:41
@@ -46,6 +46,7 @@
 extern char server_host[512];
 extern char user_name[512];
 extern char password[MAX_LEN_NAME];
+extern char default_tileset_name[512];
 extern char metaserver[512];
 extern int  server_port;
 extern bool auto_connect;
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 16:33:41
@@ -596,13 +596,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]