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

Comparing deliantra/server/server/c_new.C (file contents):
Revision 1.2 by root, Tue Aug 29 08:01:37 2006 UTC vs.
Revision 1.3 by pippijn, Thu Sep 7 10:01:57 2006 UTC

1/* 1/*
2 * static char *rcsid_c_new_c = 2 * static char *rcsid_c_new_c =
3 * "$Id: c_new.C,v 1.2 2006/08/29 08:01:37 root Exp $"; 3 * "$Id: c_new.C,v 1.3 2006/09/07 10:01:57 pippijn 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
45 45
46static CommArray_s *find_command_element(char *cmd, CommArray_s *commarray, 46static CommArray_s *find_command_element(char *cmd, CommArray_s *commarray,
47 int commsize) 47 int commsize)
48{ 48{
49 CommArray_s *asp, dummy; 49 CommArray_s *asp, dummy;
50 char *cp;
51 50
52 dummy.name =cmd; 51 dummy.name =cmd;
53 asp =(CommArray_s *)bsearch((void *)&dummy, 52 asp =(CommArray_s *)bsearch((void *)&dummy,
54 (void *)commarray, commsize, 53 (void *)commarray, commsize,
55 sizeof(CommArray_s), compare_A); 54 sizeof(CommArray_s), compare_A);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines