[mirrorbrain-commits] r8282 - /trunk/mod_mirrorbrain/mod_mirrorbrain.c

From: <poeml_at_mirrorbrain.org>
Date: Thu, 19 Apr 2012 20:58:57 -0000
Author: poeml
Date: Thu Apr 19 22:58:57 2012
New Revision: 8282

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8282&view=rev
Log:
mod_mirrorbrain: fix last change (wouldn't compile due to missing brackets)

Modified:
    trunk/mod_mirrorbrain/mod_mirrorbrain.c

Modified: trunk/mod_mirrorbrain/mod_mirrorbrain.c
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mod_mirrorbrain/mod_mirrorbrain.c?rev=8282&r1=8281&r2=8282&view=diff
==============================================================================
--- trunk/mod_mirrorbrain/mod_mirrorbrain.c	(original)
+++ trunk/mod_mirrorbrain/mod_mirrorbrain.c	Thu Apr 19 22:58:57 2012
_at_@ -1542,10 +1542,10 @@
         }
     }
     
-    if !(query_country 
-          && strlen(query_country) == 2
-          && apr_isalnum(query_country[0])
-          && apr_isalnum(query_country[1])) {
+    if (!(query_country 
+         && (strlen(query_country) == 2)
+         && apr_isalnum(query_country[0])
+         && apr_isalnum(query_country[1]))) {
         query_country = NULL;
     }
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

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 Thu Apr 19 2012 - 20:58:58 GMT

This archive was generated by hypermail 2.3.0 : Thu Apr 19 2012 - 21:17:03 GMT