Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#2757) Patch: New metaserver sample civclient/civserver
Home

[Freeciv-Dev] (PR#2757) Patch: New metaserver sample civclient/civserver

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: _vasc@xxxxxxxxxxx.pt_
Subject: [Freeciv-Dev] (PR#2757) Patch: New metaserver sample civclient/civserver implementation
From: "Vasco Alexandre da Silva Costa via RT" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 5 Oct 2004 06:32:29 -0700
Reply-to: RT_CorrespondAddressNotSet@xxxxxxxxxxxxxx

<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=2757 >

This patch makes the metaserver results list be presented as it was
received at the client, instead of reversing it.
Index: client/clinet.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/clinet.c,v
retrieving revision 1.102
diff -u -r1.102 clinet.c
--- client/clinet.c     4 Oct 2004 04:37:32 -0000       1.102
+++ client/clinet.c     5 Oct 2004 13:25:55 -0000
@@ -563,7 +563,7 @@
       pserver->players[j].nation = mystrdup(nation);
     }
 
-    server_list_insert(server_list, pserver);
+    server_list_insert_back(server_list, pserver);
   }
 
   section_file_free(file);

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