Author: poeml Date: Thu Apr 19 22:25:19 2012 New Revision: 8281 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8281&view=rev Log: mod_mirrorbrain: - small code style change 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=8281&r1=8280&r2=8281&view=diff ============================================================================== --- trunk/mod_mirrorbrain/mod_mirrorbrain.c (original) +++ trunk/mod_mirrorbrain/mod_mirrorbrain.c Thu Apr 19 22:25:19 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.orgReceived on Thu Apr 19 2012 - 20:25:19 GMT
This archive was generated by hypermail 2.3.0 : Thu Apr 19 2012 - 20:32:03 GMT