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.20 by root, Fri Feb 16 22:26:02 2007 UTC vs.
Revision 1.21 by root, Fri Feb 16 22:33:46 2007 UTC

282 LOG (llevError, "read_client_images: Image num %d not in 0..%d\n%s", num, nrofpixmaps, buf); 282 LOG (llevError, "read_client_images: Image num %d not in 0..%d\n%s", num, nrofpixmaps, buf);
283 abort (); 283 abort ();
284 } 284 }
285 285
286 /* Skip accross the number data */ 286 /* Skip accross the number data */
287 for (cp = buf + 6; *cp != ' '; cp++); 287 for (cp = buf + 6; *cp != ' '; cp++)
288 ;
289
288 len = atoi (cp); 290 len = atoi (cp);
289 if (len == 0 || len > MAX_IMAGE_SIZE) 291 if (len == 0 || len > MAX_IMAGE_SIZE)
290 { 292 {
291 LOG (llevError, "read_client_images: length not valid: %d > %d \n%s", len, MAX_IMAGE_SIZE, buf); 293 LOG (llevError, "read_client_images: length not valid: %d > %d \n%s", len, MAX_IMAGE_SIZE, buf);
292 abort (); 294 abort ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines