[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]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15803 >
> [jdorje - Thu Mar 09 01:29:16 2006]:
>
> > [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.
Actually this patch is needed for 2.1 and the dev version.
-jason
Index: client/servers.c
===================================================================
--- client/servers.c (revision 11727)
+++ client/servers.c (working copy)
@@ -70,6 +70,7 @@
#include "packets.h"
#include "version.h"
+#include "civclient.h"
#include "servers.h"
#include "gui_main_g.h"
@@ -400,7 +401,7 @@
int s;
scan->meta.urlpath = my_lookup_httpd(scan->meta.name, &scan->meta.port,
- METALIST_ADDR);
+ metaserver);
if (!scan->meta.urlpath) {
(scan->error_func)(scan,
_("Invalid $http_proxy or metaserver value, must "
|
|