larryi      01/01/11 13:31:35

  Modified:    src/native/netscape Tag: tomcat_32 jk_nsapi_plugin.c
  Log:
  Fix a problem when submitting dating from a form with a POST request.
  NetWare 5.1 doesn't have some of the assumed functionality
  (netbuf_getbytes).
  
  Submitted by: Mike Anderson ([EMAIL PROTECTED])
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +4 -2      jakarta-tomcat/src/native/netscape/Attic/jk_nsapi_plugin.c
  
  Index: jk_nsapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/netscape/Attic/jk_nsapi_plugin.c,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- jk_nsapi_plugin.c 2000/06/23 10:36:07     1.3
  +++ jk_nsapi_plugin.c 2001/01/11 21:31:32     1.3.2.1
  @@ -56,7 +56,7 @@
   /***************************************************************************
    * Description: NSAPI plugin for Netscape servers                          *
    * Author:      Gal Shachor <[EMAIL PROTECTED]>                           *
  - * Version:     $Revision: 1.3 $                                               *
  + * Version:     $Revision: 1.3.2.1 $                                               *
    ***************************************************************************/
   
   
  @@ -188,7 +188,9 @@
               unsigned i;
               netbuf *inbuf = p->sn->inbuf;
   
  -#ifdef netbuf_getbytes
  +/* Until we get a service pack for NW5.1 and earlier that has the latest */
  +/* Enterprise Server, we have to go through the else version of this code*/
  +#if defined(netbuf_getbytes) && !defined(NETWARE)
               i = netbuf_getbytes(inbuf, b, l);
               if(NETBUF_EOF == i || NETBUF_ERROR == i) {
                   return JK_FALSE;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to