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.59 by root, Sun Sep 30 20:22:25 2007 UTC vs.
Revision 1.60 by root, Mon Oct 1 01:09:10 2007 UTC

351 } 351 }
352 else 352 else
353 { 353 {
354 inbuf_len += amount; 354 inbuf_len += amount;
355 355
356 cmd_ev.start ();
357 }
358 }
359}
360
361// called whenever we have additional commands to process
362void
363client::cmd_cb (iw &w)
364{
365 if (handle_packet ()) 356 if (handle_packet ())
366 w.start (); 357 {
367 else 358 while (handle_packet ())
368 flush (); 359 ;
360
361 flush ();
362 }
363 }
364 }
369} 365}
370 366
371/******************************************************************************* 367/*******************************************************************************
372 * 368 *
373 * Start of write related routines. 369 * Start of write related routines.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines