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/proxy proxy_ftp.c
Date Wed, 30 Jan 2002 11:54:16 GMT
trawick     02/01/30 03:54:16

  Modified:    modules/proxy proxy_ftp.c
  Log:
  zap a warning on AIX...  given that time_t isn't an APR construct
  I don't know of a better fix
  
  Revision  Changes    Path
  1.96      +2 -1      httpd-2.0/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- proxy_ftp.c	30 Jan 2002 09:55:33 -0000	1.95
  +++ proxy_ftp.c	30 Jan 2002 11:54:15 -0000	1.96
  @@ -975,7 +975,8 @@
                   break;
           if (*secs_str != '\0') {
               secs = atol(secs_str);
  -            ap_table_add(r->headers_out, "Retry-After", apr_psprintf(p, "%lu", 60 *
secs));
  +            ap_table_add(r->headers_out, "Retry-After",
  +                         apr_psprintf(p, "%lu", (unsigned long)(60 * secs)));
           }
           return ap_proxyerror(r, HTTP_SERVICE_UNAVAILABLE, ftpmessage);
       }
  
  
  

Mime
View raw message