projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved variables for network server thread to network structure
[rocksndiamonds.git]
/
src
/
netserv.c
diff --git
a/src/netserv.c
b/src/netserv.c
index e94304d29cc9e14adb5f19d3ab460931413b0791..9ed0291c5d43745741b974c46fa08d915e1e1208 100644
(file)
--- a/
src/netserv.c
+++ b/
src/netserv.c
@@
-819,6
+819,8
@@
static void ExitNetworkServer(int exit_value)
// the pointer points to an integer containing the port-number
int NetworkServerThread(void *ptr)
{
+ network.is_server_thread = TRUE;
+
NetworkServer(*((int *) ptr), 0);
// should never be reached