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

Comparing deliantra/server/socket/request.c (file contents):
Revision 1.6 by root, Mon Apr 17 07:31:54 2006 UTC vs.
Revision 1.7 by root, Fri Apr 21 05:13:28 2006 UTC

1/* 1/*
2 * static char *rcsid_init_c = 2 * static char *rcsid_init_c =
3 * "$Id: request.c,v 1.6 2006/04/17 07:31:54 root Exp $"; 3 * "$Id: request.c,v 1.7 2006/04/21 05:13:28 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
586 short packet; 586 short packet;
587 char command[MAX_BUF]; 587 char command[MAX_BUF];
588 SockList sl; 588 SockList sl;
589 589
590 if (len < 7) { 590 if (len < 7) {
591 LOG(llevDebug,"Corrupt ncom command - not long enough - discarding\n"); 591 LOG(llevDebug,"Corrupt ncom command <%s> not long enough - discarding\n", buf);
592 return; 592 return;
593 } 593 }
594 594
595 packet = GetShort_String(buf); 595 packet = GetShort_String(buf);
596 repeat = GetInt_String(buf+2); 596 repeat = GetInt_String(buf+2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines