[mirrorbrain-commits] [opensuse-svn] r6331 - trunk/tools/download-redirector-v2/mod_mirrorbrain

From: Novell Forge SVN <noreply_at_novell.com>
Date: Tue, 3 Feb 2009 02:34:36 -0700 (MST)
Author: poeml
Date: 2009-02-03 02:34:31 -0700 (Tue, 03 Feb 2009)
New Revision: 6331

Modified:
   trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
Log:
mod_mirrorbrain:
 - version 2.5
 - use server.enabled and server.status_baseurl as booleans, which works both
   with MySQL's tinyint as well as PostgreSQL's boolean types


Modified: trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c
===================================================================
--- trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-02-03 09:32:50 UTC (rev 6330)
+++ trunk/tools/download-redirector-v2/mod_mirrorbrain/mod_mirrorbrain.c	2009-02-03 09:34:31 UTC (rev 6331)
@@ -73,7 +73,7 @@
 #define UNSET (-1)
 #endif
 
-#define MOD_MIRRORBRAIN_VER "2.4"
+#define MOD_MIRRORBRAIN_VER "2.5"
 #define VERSION_COMPONENT "mod_mirrorbrain/"MOD_MIRRORBRAIN_VER
 
 #ifdef NO_MOD_GEOIP
@@ -94,8 +94,8 @@
                       "LEFT JOIN server " \
                       "ON file_server.serverid = server.id " \
                       "WHERE file.path=%s " \
-                             "AND server.enabled=1 " \
-                             "AND server.status_baseurl=1 " \
+                             "AND server.enabled " \
+                             "AND server.status_baseurl " \
                              "AND server.score > 0"
 
 

_______________________________________________
Opensuse-svn mailing list
Opensuse-svn_at_forge.novell.com
http://forge.novell.com/mailman/listinfo/opensuse-svn


_______________________________________________
mirrorbrain-commits mailing list

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on 2009-02-03Z09:35:00

This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:10 GMT