]> git.deb.at Git - pkg/netris.git/blob - debian/patches/05_init-static-vars
cf3bec37129ea90bebcc6db321a69109a03cdfae
[pkg/netris.git] / debian / patches / 05_init-static-vars
1 Index: netris-0.52/inet.c
2 ===================================================================
3 --- netris-0.52.orig/inet.c
4 +++ netris-0.52/inet.c
5 @@ -42,6 +42,8 @@ static int isServer, lostConn, gotEndCon
6  
7  ExtFunc void InitNet(void)
8  {
9 +       lostConn = 0;
10 +       gotEndConn = 0;
11         AtExit(CloseNet);
12  }
13