httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_ext_filter.c
Date Mon, 15 Jan 2001 19:50:13 GMT
trawick     01/01/15 11:50:13

  Modified:    modules/experimental mod_ext_filter.c
  Log:
  avoid warnings on systems where apr_size_t isn't int and where
  strings.h is needed for the str[n]casecmp() declaration
  
  Revision  Changes    Path
  1.6       +6 -3      httpd-2.0/modules/experimental/mod_ext_filter.c
  
  Index: mod_ext_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_ext_filter.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mod_ext_filter.c	2000/12/29 14:11:12	1.5
  +++ mod_ext_filter.c	2001/01/15 19:50:13	1.6
  @@ -69,6 +69,9 @@
   #include "util_filter.h"
   #include "apr_strings.h"
   #include "apr_hash.h"
  +#if APR_HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   typedef struct ef_server_t {
       apr_pool_t *p;
  @@ -544,7 +547,7 @@
           if ((rv && !APR_STATUS_IS_EAGAIN(rv)) ||
               dc->debug >= DBGLVL_GORY) {
               ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, f->r,
  -                          "apr_read(child output), len %d",
  +                          "apr_read(child output), len %" APR_SIZE_T_FMT,
                             !rv ? len : -1);
           }
           if (rv != APR_SUCCESS) {
  @@ -582,7 +585,7 @@
           bytes_written += tmplen;
           if (rv != APR_SUCCESS && !APR_STATUS_IS_EAGAIN(rv)) {
               ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, f->r,
  -                          "apr_write(child input), len %d",
  +                          "apr_write(child input), len %" APR_SIZE_T_FMT,
                             tmplen);
               return rv;
           }
  @@ -702,7 +705,7 @@
           if ((rv && !APR_STATUS_IS_EOF(rv) && !APR_STATUS_IS_EAGAIN(rv))
||
               dc->debug >= DBGLVL_GORY) {
               ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, f->r,
  -                          "apr_read(child output), len %d",
  +                          "apr_read(child output), len %" APR_SIZE_T_FMT,
                             !rv ? len : -1);
           }
           if (APR_STATUS_IS_EAGAIN(rv)) {
  
  
  

Mime
View raw message