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.51 by root, Tue Jul 24 04:58:25 2007 UTC vs.
Revision 1.52 by root, Sun Jul 29 19:11:47 2007 UTC

441 * however, if this really happens, we probably just want to cut down the 441 * however, if this really happens, we probably just want to cut down the
442 * size to less than 1000, since that is what we claim the protocol would 442 * size to less than 1000, since that is what we claim the protocol would
443 * support. 443 * support.
444 */ 444 */
445 //TODO: taken care of above, should simply abort or make sure the above code is correct 445 //TODO: taken care of above, should simply abort or make sure the above code is correct
446 if (sl.length () >= MAXSOCKBUF) 446 if (sl.length () > MAXSOCKBUF)
447 { 447 {
448 LOG (llevError, "send_image_send: buffer overrun, %d > %d\n", sl.length (), MAXSOCKBUF); 448 LOG (llevError, "send_image_send: buffer overrun, %d > %d\n", sl.length (), MAXSOCKBUF);
449 abort (); 449 abort ();
450 } 450 }
451 451

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines