tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmand...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_sockbuf.c
Date Tue, 04 Dec 2001 22:51:57 GMT
mmanders    01/12/04 14:51:57

  Modified:    jk/native/common jk_sockbuf.c
  Log:
  Added a cast in the call to send since Metrowerks 6.0 (used to build NetWare) complains.
  
  Revision  Changes    Path
  1.7       +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_sockbuf.c
  
  Index: jk_sockbuf.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_sockbuf.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jk_sockbuf.c	2001/12/04 19:39:55	1.6
  +++ jk_sockbuf.c	2001/12/04 22:51:57	1.7
  @@ -58,7 +58,7 @@
   /***************************************************************************
    * Description: Simple buffer object to handle buffered socket IO          *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.6 $                                           *
  + * Version:     $Revision: 1.7 $                                           *
    ***************************************************************************/
   
   #include "jk_global.h"
  @@ -92,7 +92,7 @@
                   return JK_FALSE;
               }
               if(sz > SOCKBUF_SIZE) {
  -                return (send(sb->sd, buf, sz, 0) == (int)sz);
  +                return (send(sb->sd, (char *)buf, sz, 0) == (int)sz);
               } 
               
               memcpy(sb->buf + sb->end, buf, sz);
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message