Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1252/src
Modified Files:
parsemeta.c
Log Message:
Added support for paradise server listings for the paradise version of the client.
Index: parsemeta.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/parsemeta.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- parsemeta.c 16 May 2007 00:05:16 -0000 1.39
+++ parsemeta.c 21 Feb 2008 04:32:25 -0000 1.40
@@ -565,8 +565,13 @@
if (tempstatus > statusLevel)
throwaway++;
+#ifdef PARADISE
+ /* only show paradise servers */
+ if (type != 'P') throwaway++;
+#else
/* ignore paradise servers */
if (type == 'P') throwaway++;
+#endif
/* if it's to be thrown away, do not add this server, skip to next */
if (throwaway) continue;