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.10 by root, Sat Jul 1 21:06:26 2006 UTC vs.
Revision 1.11 by root, Mon Jul 24 23:25:27 2006 UTC

1 1
2/* 2/*
3 * static char *rcsid_loop_c = 3 * static char *rcsid_loop_c =
4 * "$Id: loop.c,v 1.10 2006/07/01 21:06:26 root Exp $"; 4 * "$Id: loop.c,v 1.11 2006/07/24 23:25:27 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
585 FD_SET((uint32)pl->socket.fd, &tmp_exceptions); 585 FD_SET((uint32)pl->socket.fd, &tmp_exceptions);
586 pl=pl->next; 586 pl=pl->next;
587 } 587 }
588 } 588 }
589 589
590#if 0
591 // the event system and plugins require the server ti run at all times.
592 // since its primarily cf.schmorp.de we are interested in, and
593 // that is supposed to run all the time anyway, its globally disabled
594 // until we can use Event.
590 if (socket_info.nconns==1 && first_player==NULL) 595 if (socket_info.nconns==1 && first_player==NULL)
591 block_until_new_connection(); 596 block_until_new_connection();
597#endif
592 598
593 /* Reset timeout each time, since some OS's will change the values on 599 /* Reset timeout each time, since some OS's will change the values on
594 * the return from select. 600 * the return from select.
595 */ 601 */
596 socket_info.timeout.tv_sec = 0; 602 socket_info.timeout.tv_sec = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines