httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/main rfc1413.c
Date Thu, 09 Dec 1999 17:05:29 GMT
martin      99/12/09 09:05:29

  Modified:    src/main rfc1413.c
  Log:
  EBCDIC: The buffer was passed incorrectly. Some compilers tolerated
  that, but it was wrong anyway. Noticed by Ovies Brabson
  
  Submitted by:   Ovies Brabson <oviesb@us.ibm.com>
  Reviewed by:    Martin Kraemer
  
  Revision  Changes    Path
  1.32      +2 -2      apache-1.3/src/main/rfc1413.c
  
  Index: rfc1413.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/rfc1413.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- rfc1413.c	1999/12/09 12:05:04	1.31
  +++ rfc1413.c	1999/12/09 17:05:28	1.32
  @@ -154,7 +154,7 @@
   
       /* send query to server. Handle short write. */
   #ifdef CHARSET_EBCDIC
  -    ebcdic2ascii(&buffer, &buffer, buflen);
  +    ebcdic2ascii(buffer, buffer, buflen);
   #endif
       i = 0;
       while(i < strlen(buffer)) {
  @@ -212,7 +212,7 @@
   
   /* RFC1413_USERLEN = 512 */
   #ifdef CHARSET_EBCDIC
  -    ascii2ebcdic(&buffer, &buffer, (size_t)i);
  +    ascii2ebcdic(buffer, buffer, (size_t)i);
   #endif
       if (sscanf(buffer, "%u , %u : USERID :%*[^:]:%512s", &rmt_port, &our_port,
   	       user) != 3 || ntohs(rmt_sin->sin_port) != rmt_port
  
  
  

Mime
View raw message