httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Fielding <field...@hyperreal.com>
Subject cvs commit: apache/src util.c
Date Tue, 12 Nov 1996 18:24:41 GMT
fielding    96/11/12 10:24:40

  Modified:    src       util.c
  Log:
  Fixed test for value of unsigned -1 to be less system-dependent.
  
  Revision  Changes    Path
  1.30      +1 -1      apache/src/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -C3 -r1.29 -r1.30
  *** util.c	1996/11/06 10:30:38	1.29
  --- util.c	1996/11/12 18:24:35	1.30
  ***************
  *** 1175,1181 ****
    #else
        my_addr = inet_addr(w);
    #endif
  !     if (my_addr != ((unsigned long) 0xffffffff))
        {
    	if (p != NULL) *p = ':';
    	return my_addr;
  --- 1175,1181 ----
    #else
        my_addr = inet_addr(w);
    #endif
  !     if (my_addr != (~0ul))
        {
    	if (p != NULL) *p = ':';
    	return my_addr;
  
  
  

Mime
View raw message