httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Re: apache 0.8.10 rfc931.c (fwd)
Date Thu, 24 Aug 1995 18:06:00 GMT
Forwarded message:
> From kmpoon@hkueee.hku.hk  Mon Aug 21 06:45:50 1995
> Date: Mon, 21 Aug 1995 21:42:26 +0800
> From: kmpoon@hkueee.hku.hk (POON KAI MING)
> Message-Id: <9508211342.AA05892@hkueee3.sunnet>
> To: apache-bugs@apache.org
> Subject: apache 0.8.10 rfc931.c
> Content-Length: 421
> 
> i have enabled the RFC931 checking by setting DEFAULT_RFC931 to 1 in httpd.h
> and there is some problem in logging the user ident correctly.

Here is a patch to 0.8.11.


------- begin 931.patch
*** rfc931.c~	Wed Aug 23 02:16:30 1995
--- rfc931.c	Thu Aug 24 18:03:16 1995
***************
*** 178,186 ****
      static char user[256];		/* XXX */
      char    buffer[512];		/* XXX */
      char   *cp;
!     static char *result = FROM_UNKNOWN;	/* XXX */
      FILE   *fp;
  
      /*
       * Use one unbuffered stdio stream for writing to and for reading from
       * the RFC931 etc. server. This is done because of a bug in the SunOS
--- 178,187 ----
      static char user[256];		/* XXX */
      char    buffer[512];		/* XXX */
      char   *cp;
!     static char *result;	/* XXX */
      FILE   *fp;
  
+     result = FROM_UNKNOWN;
      /*
       * Use one unbuffered stdio stream for writing to and for reading from
       * the RFC931 etc. server. This is done because of a bug in the SunOS
------- end 931.patch

Mime
View raw message