Difference for socket/lowlevel.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
   
 /*  /*
  * static char *rcsid_sockets_c =   * static char *rcsid_sockets_c =
  *    "$Id: lowlevel.c,v 1.6 2001/04/06 19:08:08 michtoen Exp $";   *    "$Id: lowlevel.c,v 1.7 2003/09/13 05:02:14 mwedel Exp $";
  */   */
   
 /*  /*
Line 69
 
Line 69
     sl->buf[sl->len++] = data & 0xff;      sl->buf[sl->len++] = data & 0xff;
 }  }
   
   void SockList_AddInt64(SockList *sl, uint64 data)
   {
       sl->buf[sl->len++]= (data>>56)&0xff;
       sl->buf[sl->len++]= (data>>48)&0xff;
       sl->buf[sl->len++]= (data>>40)&0xff;
       sl->buf[sl->len++]= (data>>32)&0xff;
   
       sl->buf[sl->len++]= (data>>24)&0xff;
       sl->buf[sl->len++]= (data>>16)&0xff;
       sl->buf[sl->len++]= (data>>8)&0xff;
       sl->buf[sl->len++] = data & 0xff;
   }
   
 /* Basically does the reverse of SockList_AddInt, but on  /* Basically does the reverse of SockList_AddInt, but on
  * strings instead.  Same for the GetShort, but for 16 bits.   * strings instead.  Same for the GetShort, but for 16 bits.
  */   */


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

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