You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/04/10 22:41:45 UTC

cvs commit: httpd-2.0/server rfc1413.c

wrowe       01/04/10 13:41:45

  Modified:    server   rfc1413.c
  Log:
    Knock off another couple of compiler emits.
  
  Revision  Changes    Path
  1.40      +4 -3      httpd-2.0/server/rfc1413.c
  
  Index: rfc1413.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/rfc1413.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- rfc1413.c	2001/03/02 19:46:08	1.39
  +++ rfc1413.c	2001/04/10 20:41:45	1.40
  @@ -147,7 +147,8 @@
       }
   
       if ((rv = apr_setsocketopt(*newsock, APR_SO_TIMEOUT, 
  -                               ap_rfc1413_timeout * APR_USEC_PER_SEC)) 
  +                               (apr_int32_t)(ap_rfc1413_timeout 
  +                                              * APR_USEC_PER_SEC)))
           != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_CRIT, rv, srv,
                        "rfc1413: error setting query socket timeout");
  @@ -188,11 +189,11 @@
   {
       apr_port_t rmt_port, our_port;
       apr_port_t sav_rmt_port, sav_our_port;
  -    size_t i;
  +    apr_size_t i;
       char *cp;
       char buffer[RFC1413_MAXDATA + 1];
       char user[RFC1413_USERLEN + 1];	/* XXX */
  -    int buflen;
  +    apr_size_t buflen;
       apr_sockaddr_t *localsa;
   
       apr_socket_addr_get(&localsa, APR_LOCAL, sock);