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

Comparing deliantra/server/socket/init.C (file contents):
Revision 1.1 by elmex, Sun Aug 13 17:16:05 2006 UTC vs.
Revision 1.2 by root, Thu Aug 17 20:23:32 2006 UTC

1/* 1/*
2 * static char *rcsid_init_c = 2 * static char *rcsid_init_c =
3 * "$Id: init.C,v 1.1 2006/08/13 17:16:05 elmex Exp $"; 3 * "$Id: init.C,v 1.2 2006/08/17 20:23:32 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
153 ns->outputbuffer.len=0; 153 ns->outputbuffer.len=0;
154 ns->can_write=1; 154 ns->can_write=1;
155 ns->password_fails = 0; 155 ns->password_fails = 0;
156 156
157 ns->current_map = 0; 157 ns->current_map = 0;
158 ns->current_x = 0;
159 ns->current_y = 0;
158 160
159 ns->sent_scroll=0; 161 ns->sent_scroll=0;
160 ns->host=strdup_local(from_ip); 162 ns->host=strdup_local(from_ip);
161 sprintf((char*)buf, "version %d %d %s\n", VERSION_CS,VERSION_SC, VERSION_INFO); 163 sprintf((char*)buf, "version %d %d %s\n", VERSION_CS,VERSION_SC, VERSION_INFO);
162 sl.buf=(unsigned char*)buf; 164 sl.buf=(unsigned char*)buf;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines