Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2006:
[Freeciv-Dev] (PR#15803) civclient -m and --meta have no effect
Home

[Freeciv-Dev] (PR#15803) civclient -m and --meta have no effect

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: daniel.strecker@xxxxxxx
Subject: [Freeciv-Dev] (PR#15803) civclient -m and --meta have no effect
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Mar 2006 17:29:22 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15803 >

> [daniel.strecker@xxxxxxx - Wed Mar 08 04:39:03 2006]:
> 
> after the metaserver at freeciv.org is down since a day, i started to
> write my
> own metaserver, because i couldn't find another one in the sources.
> however, the clients don't want to connect to it. when specifying
> another
> metaserver with -m oder --meta, civclient still tries to connect to
> meta.freeciv.org:80.
> the metaserver i wrote is at
> http://www.exists.de/freeciv/metaserver.php
> of course it's not tested.

This patch (for 2.0, 2.1, and the dev version) fixes it.

-jason

Index: client/clinet.c
===================================================================
--- client/clinet.c     (revision 11725)
+++ client/clinet.c     (working copy)
@@ -605,7 +605,7 @@
   struct utsname un;
 #endif 
 
-  urlpath = my_lookup_httpd(metaname, &metaport, METALIST_ADDR);//metaserver);
+  urlpath = my_lookup_httpd(metaname, &metaport, metaserver);
   if (!urlpath) {
     (void) mystrlcpy(errbuf, _("Invalid $http_proxy or metaserver value, must "
                               "start with 'http://'"), n_errbuf);

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