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

Comparing deliantra/server/socket/lowlevel.C (file contents):
Revision 1.68 by root, Sat Dec 27 01:25:00 2008 UTC vs.
Revision 1.69 by root, Sun Dec 28 06:59:27 2008 UTC

486 486
487 if (!(color & NDI_VERBATIM) 487 if (!(color & NDI_VERBATIM)
488 && (msg_is_special (msg) 488 && (msg_is_special (msg)
489 || (type [0] == 'c' && type [1] == '/') || len > (MAXSOCKBUF - 128))) 489 || (type [0] == 'c' && type [1] == '/') || len > (MAXSOCKBUF - 128)))
490 cfperl_send_msg (this, color, type, msg); 490 cfperl_send_msg (this, color, type, msg);
491 else if (can_msg) 491 else
492 send_packet_printf ("msg %d %s %s", color & NDI_CLIENT_MASK, type, msg); 492 send_packet_printf ("msg %d %s %s", color & NDI_CLIENT_MASK, type, msg);
493 else if (color < 0)
494 return; // client cannot handle this
495 else
496 send_packet_printf ("drawinfo %d %s", color & NDI_COLOR_MASK, msg);
497} 493}
498 494
499void 495void
500client::send_drawinfo (const char *msg, int flags) 496client::send_drawinfo (const char *msg, int flags)
501{ 497{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines