version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.5 2000/12/04 00:40:06 cvs Exp $"; | | * "$Id: request.c,v 1.6 2001/02/03 05:30:18 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
sl.buf = malloc(MAXSOCKBUF); | | sl.buf = malloc(MAXSOCKBUF); |
| | |
if ((!nocache && ns->facecache) || ns->facemode==Send_Face_None ) { | | if ((!nocache && ns->facecache) || ns->facemode==Send_Face_None ) { |
| | if (ns->sc_version >= 1026) |
| | strcpy((char*)sl.buf, "face1 "); |
| | else |
strcpy((char*)sl.buf, "face "); | | strcpy((char*)sl.buf, "face "); |
sl.len=5; | | |
| | sl.len=strlen(sl.buf); |
SockList_AddShort(&sl, face_num); | | SockList_AddShort(&sl, face_num); |
| | if (ns->sc_version >= 1026) |
| | SockList_AddInt(&sl, faces[face_num].checksum); |
strcpy((char*)sl.buf + sl.len, new_faces[face_num].name); | | strcpy((char*)sl.buf + sl.len, new_faces[face_num].name); |
sl.len += strlen(new_faces[face_num].name); | | sl.len += strlen(new_faces[face_num].name); |
Send_With_Handling(ns, &sl); | | Send_With_Handling(ns, &sl); |