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.8 by root, Thu Dec 14 01:21:58 2006 UTC vs.
Revision 1.9 by root, Thu Dec 14 01:59:10 2006 UTC

476 /* It would make more sense to catch this pre-emptively in the code above. 476 /* It would make more sense to catch this pre-emptively in the code above.
477 * however, if this really happens, we probably just want to cut down the 477 * however, if this really happens, we probably just want to cut down the
478 * size to less than 1000, since that is what we claim the protocol would 478 * size to less than 1000, since that is what we claim the protocol would
479 * support. 479 * support.
480 */ 480 */
481 if (sl.len >= MAXSOCKBUF) 481 if (sl.length () >= MAXSOCKBUF)
482 { 482 {
483 LOG (llevError, "send_image_send: buffer overrun, %d > %d\n", sl.len, MAXSOCKBUF); 483 LOG (llevError, "send_image_send: buffer overrun, %d > %d\n", sl.length (), MAXSOCKBUF);
484 abort (); 484 abort ();
485 } 485 }
486 486
487 Send_With_Handling (ns, &sl); 487 Send_With_Handling (ns, &sl);
488} 488}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines