1
0
Fork 0

(svn r20035) -Fix [FS#3909]: under some circumstances you could get into an infinite loop

release/1.1
rubidium 2010-06-29 21:15:40 +00:00
parent b1400ab65e
commit ed35d62e70
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ void NetworkSyncCommandQueue(NetworkClientSocket *cs)
for (CommandPacket *p = _local_command_queue; p != NULL; p = p->next) {
CommandPacket c = *p;
c.callback = 0;
c.next = NULL;
NetworkAddCommandQueue(c, cs);
}
}