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

Comparing deliantra/server/socket/loop.c (file contents):
Revision 1.9 by root, Sun Jun 11 15:02:17 2006 UTC vs.
Revision 1.10 by root, Sat Jul 1 21:06:26 2006 UTC

1 1
2/* 2/*
3 * static char *rcsid_loop_c = 3 * static char *rcsid_loop_c =
4 * "$Id: loop.c,v 1.9 2006/06/11 15:02:17 root Exp $"; 4 * "$Id: loop.c,v 1.10 2006/07/01 21:06:26 root Exp $";
5 */ 5 */
6 6
7/* 7/*
8 CrossFire, A Multiplayer game for X-windows 8 CrossFire, A Multiplayer game for X-windows
9 9
366 ns->status =Ns_Dead; 366 ns->status =Ns_Dead;
367 return; 367 return;
368 } 368 }
369 /* Still dont have a full packet */ 369 /* Still dont have a full packet */
370 if (i==0) return; 370 if (i==0) return;
371
372// //D//TODO//temporarily log long commands
373// if (ns->inbuf.len >= 40 && pl && pl->ob)
374// LOG (llevDebug, "HandleClient: long comamnd from <%s,%s> %d<%s>\n", pl->ob->name, ns->host, ns->inbuf.len, ns->inbuf.buf + 2);
371 375
372 /* First, break out beginning word. There are at least 376 /* First, break out beginning word. There are at least
373 * a few commands that do not have any paremeters. If 377 * a few commands that do not have any paremeters. If
374 * we get such a command, don't worry about trying 378 * we get such a command, don't worry about trying
375 * to break it up. 379 * to break it up.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines