Difference for socket/request.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 588
 
Line 588
  strcpy((char*)sl.buf, "pixmap ");   strcpy((char*)sl.buf, "pixmap ");
  sl.len=strlen((char*)sl.buf);   sl.len=strlen((char*)sl.buf);
  SockList_AddInt(&sl, face_num);   SockList_AddInt(&sl, face_num);
  SockList_AddInt(&sl, faces[face_num].datalen);   SockList_AddInt(&sl, faces[face_num].datalen[1]);
  memcpy(sl.buf+sl.len, faces[face_num].data, faces[face_num].datalen);   memcpy(sl.buf+sl.len, faces[face_num].data[1], faces[face_num].datalen[1]);
  sl.len += faces[face_num].datalen;   sl.len += faces[face_num].datalen[1];
 /* LOG(llevDebug,"sending pixmap %d, len %d\n", face_num, faces[face_num].datalen);*/  /* LOG(llevDebug,"sending pixmap %d, len %d\n", face_num, faces[face_num].datalen);*/
  Send_With_Handling(ns, &sl);   Send_With_Handling(ns, &sl);
     } else if (ns->facemode == Send_Face_Bitmap) {      } else if (ns->facemode == Send_Face_Bitmap) {
Line 599
 
Line 599
  SockList_AddInt(&sl, face_num);   SockList_AddInt(&sl, face_num);
  SockList_AddChar(&sl, new_faces[face_num].fg);   SockList_AddChar(&sl, new_faces[face_num].fg);
  SockList_AddChar(&sl, new_faces[face_num].bg);   SockList_AddChar(&sl, new_faces[face_num].bg);
  memcpy(sl.buf+sl.len, faces[face_num].bitmapdata, 3*24);   memcpy(sl.buf+sl.len, faces[face_num].data[0], faces[face_num].datalen[0]);
  sl.len += 3*24;   memcpy(sl.buf+sl.len, faces[face_num].data[0], 3*24);
    sl.len += faces[face_num].datalen[0];
  Send_With_Handling(ns, &sl);   Send_With_Handling(ns, &sl);
     } else {      } else {
  LOG(llevError,"Invalid face send mode on client_num (%d)\n",   LOG(llevError,"Invalid face send mode on client_num (%d)\n",


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

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