You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2011/11/09 17:36:32 UTC
svn commit: r1199834 - /tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
Author: mturk
Date: Wed Nov 9 16:36:32 2011
New Revision: 1199834
URL: http://svn.apache.org/viewvc?rev=1199834&view=rev
Log:
Use already present macro
Modified:
tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
Modified: tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/jk_isapi_plugin.c?rev=1199834&r1=1199833&r2=1199834&view=diff
==============================================================================
--- tomcat/jk/trunk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/jk/trunk/native/iis/jk_isapi_plugin.c Wed Nov 9 16:36:32 2011
@@ -441,9 +441,7 @@ static struct error_reasons {
#define STRNULL_FOR_NULL(x) ((x) ? (x) : "(null)")
-#ifdef USE_CGI_HEADERS
#define JK_TOLOWER(x) ((char)tolower((BYTE)(x)))
-#endif
#define ISIZEOF(X) (int)sizeof(X)
@@ -835,11 +833,11 @@ static char *stristr(const char *s, cons
char c, sc;
size_t len;
- if ((c = tolower((unsigned char)(*find++))) != 0) {
+ if ((c = JK_TOLOWER(*find++)) != 0) {
len = strlen(find);
do {
do {
- if ((sc = tolower((unsigned char)(*s++))) == 0)
+ if ((sc = JK_TOLOWER(*s++)) == 0)
return (NULL);
} while (sc != c);
} while (strnicmp(s, find, len) != 0);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org