Difference for socket/image.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: image.c,v 1.4 2003/12/02 18:51:44 ryo_saeba Exp $";   *    "$Id: image.c,v 1.5 2003/12/14 16:28:47 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 325
 
Line 325
 void esrv_send_face(NewSocket *ns,short face_num, int nocache)  void esrv_send_face(NewSocket *ns,short face_num, int nocache)
 {  {
     SockList sl;      SockList sl;
     int fallback;      char fallback;
   
     if (face_num < 0 || face_num >= nrofpixmaps) {      if (face_num < 0 || face_num >= nrofpixmaps) {
  LOG(llevError,"esrv_send_face (%d) out of bounds??\n",face_num);   LOG(llevError,"esrv_send_face (%d) out of bounds??\n",face_num);
Line 414
 
Line 414
  */   */
 void send_image_sums(NewSocket *ns, char *params)  void send_image_sums(NewSocket *ns, char *params)
 {  {
     int start, stop, qq,i;      int start, stop;
       short i;
       char qq;
     char *cp, buf[MAX_BUF];      char *cp, buf[MAX_BUF];
     SockList sl;      SockList sl;
   
Line 443
 
Line 445
  SockList_AddChar(&sl, qq);   SockList_AddChar(&sl, qq);
   
  qq = strlen(new_faces[i].name);   qq = strlen(new_faces[i].name);
  SockList_AddChar(&sl, qq + 1);   SockList_AddChar(&sl, ( char )( qq + 1 ));
  strcpy(sl.buf + sl.len, new_faces[i].name);   strcpy(sl.buf + sl.len, new_faces[i].name);
  sl.len += qq;   sl.len += qq;
  SockList_AddChar(&sl, 0);   SockList_AddChar(&sl, 0);


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

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