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.13 by root, Thu Dec 14 01:12:35 2006 UTC vs.
Revision 1.14 by root, Thu Dec 14 01:21:58 2006 UTC

139 139
140 ns->sent_scroll = 0; 140 ns->sent_scroll = 0;
141 ns->host = strdup_local (from_ip); 141 ns->host = strdup_local (from_ip);
142 142
143 { 143 {
144 SockList sl (MAXSOCKBUF); 144 packet sl;
145 145
146 sl.printf ("version %d %d %s\n", VERSION_CS, VERSION_SC, VERSION_INFO); 146 sl.printf ("version %d %d %s\n", VERSION_CS, VERSION_SC, VERSION_INFO);
147 Send_With_Handling (ns, &sl); 147 Send_With_Handling (ns, &sl);
148 sl.free ();
149 } 148 }
150 149
151#ifdef CS_LOGSTATS 150#ifdef CS_LOGSTATS
152 if (socket_info.nconns > cst_tot.max_conn) 151 if (socket_info.nconns > cst_tot.max_conn)
153 cst_tot.max_conn = socket_info.nconns; 152 cst_tot.max_conn = socket_info.nconns;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines