[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apreq-cvs
Subject:    svn commit: r734232 - /httpd/apreq/trunk/library/module_cgi.c
From:       joes () apache ! org
Date:       2009-01-13 20:31:53
Message-ID: 20090113203158.EF8ED238895D () eris ! apache ! org
[Download RAW message or body]

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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic