httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r734232 - /httpd/apreq/trunk/library/module_cgi.c
Date Tue, 13 Jan 2009 20:31:53 GMT
Author: joes
Date: Tue Jan 13 12:31:48 2009
New Revision: 734232

URL: http://svn.apache.org/viewvc?rev=734232&view=rev
Log:
more gcc warnings evaded

Modified:
    httpd/apreq/trunk/library/module_cgi.c

Modified: httpd/apreq/trunk/library/module_cgi.c
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/library/module_cgi.c?rev=734232&r1=734231&r2=734232&view=diff
==============================================================================
--- httpd/apreq/trunk/library/module_cgi.c (original)
+++ httpd/apreq/trunk/library/module_cgi.c Tue Jan 13 12:31:48 2009
@@ -230,7 +230,7 @@
             }
         case '\\': /* Check next character for escape sequence 
                     * (just ignore it for now) */
-            *cprompt++;
+            (void)*cprompt++;
             /* Fallthrough */
 
         default:       
@@ -243,7 +243,7 @@
     apr_file_printf(req->sout, "%s", buf[0]);
     apr_file_gets(buf[0], MAX_BUFFER_SIZE, req->sin);
     chomp(buf[0]);
-    if (stricmp(buf[0], "")) {
+    if (strcmp(buf[0], "")) {
 /*        if (strcmp(buf[0], nullstr)) */
             return apr_pstrdup(handle->pool, buf[0]);
 /*        return NULL; */
@@ -597,7 +597,7 @@
     else
         t = req->jar;
 
-    val = (char *)apr_table_get(t, name);
+    val = apr_table_get(t, name);
     if (val == NULL) {
         if (!req->interactive_mode) {
             return NULL;



Mime
View raw message