ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/image.C
(Generate patch)

Comparing deliantra/server/socket/image.C (file contents):
Revision 1.4 by root, Thu Sep 14 22:34:05 2006 UTC vs.
Revision 1.5 by root, Sun Oct 8 16:51:51 2006 UTC

283 if (len == 0 || len > MAX_IMAGE_SIZE) 283 if (len == 0 || len > MAX_IMAGE_SIZE)
284 { 284 {
285 LOG (llevError, "read_client_images: length not valid: %d > %d \n%s", len, MAX_IMAGE_SIZE, buf); 285 LOG (llevError, "read_client_images: length not valid: %d > %d \n%s", len, MAX_IMAGE_SIZE, buf);
286 abort (); 286 abort ();
287 } 287 }
288 /* We don't actualy care about the name if the image that 288 /* We don't actualy care about the name of the image that
289 * is embedded in the image file, so just ignore it. 289 * is embedded in the image file, so just ignore it.
290 */ 290 */
291 facesets[fileno].faces[num].datalen = len; 291 facesets[fileno].faces[num].datalen = len;
292 facesets[fileno].faces[num].data = (uint8 *) malloc (len); 292 facesets[fileno].faces[num].data = (uint8 *) malloc (len);
293 if ((i = fread (facesets[fileno].faces[num].data, len, 1, infile)) != 1) 293 if ((i = fread (facesets[fileno].faces[num].data, len, 1, infile)) != 1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines