httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@hyperreal.com>
Subject cvs commit: apache/src util_script.c
Date Fri, 03 Jan 1997 09:30:22 GMT
chuck       97/01/03 01:30:21

  Modified:    src       util_script.c
  Log:
  Fix byte ordering problems for REMOTE_PORT
  
  Revision  Changes    Path
  1.37      +1 -1      apache/src/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util_script.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -C3 -r1.36 -r1.37
  *** util_script.c	1997/01/01 18:10:47	1.36
  --- util_script.c	1997/01/03 09:30:20	1.37
  ***************
  *** 194,200 ****
        table_set (e, "SERVER_ADMIN", s->server_admin); /* Apache */
        table_set (e, "SCRIPT_FILENAME", r->filename); /* Apache */
        
  !     sprintf(port, "%d", c->remote_addr.sin_port);
        table_set (e, "REMOTE_PORT", port);            /* Apache */
    
        if (c->user) table_set(e, "REMOTE_USER", c->user);
  --- 194,200 ----
        table_set (e, "SERVER_ADMIN", s->server_admin); /* Apache */
        table_set (e, "SCRIPT_FILENAME", r->filename); /* Apache */
        
  !     sprintf(port, "%d", ntohs(c->remote_addr.sin_port));
        table_set (e, "REMOTE_PORT", port);            /* Apache */
    
        if (c->user) table_set(e, "REMOTE_USER", c->user);
  
  
  

Mime
View raw message