Difference for socket/init.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: init.c,v 1.5 2000/11/24 21:18:02 mids Exp $";   *    "$Id: init.c,v 1.6 2001/01/24 05:01:37 cvs Exp $";
  */   */
   
 /*  /*
Line 194
 
Line 194
      */       */
     ns->inbuf.len=0;      ns->inbuf.len=0;
     ns->inbuf.buf=malloc(MAXSOCKBUF);      ns->inbuf.buf=malloc(MAXSOCKBUF);
       /* Basic initialization. Needed because we do a check in
        * HandleClient for oldsocketmode without checking the
        * length of data.
        */
       ns->inbuf.buf[0] = 0;
     memset(&ns->lastmap,0,sizeof(struct Map));      memset(&ns->lastmap,0,sizeof(struct Map));
     memset(&ns->faces_sent,0,sizeof(ns->faces_sent));      memset(&ns->faces_sent,0,sizeof(ns->faces_sent));
     memset(&ns->anims_sent,0,sizeof(ns->anims_sent));      memset(&ns->anims_sent,0,sizeof(ns->anims_sent));


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:34