[dcom 2] RPCRT4 bugfix
Mike Hearn
mike at theoretic.com
Fri Sep 12 12:28:14 CDT 2003
ChangeLog:
Move packet linked list tail forward correctly on push
Index: dlls/rpcrt4/rpc_server.c
===================================================================
RCS file: /home/wine/wine/dlls/rpcrt4/rpc_server.c,v
retrieving revision 1.19
diff -u -r1.19 rpc_server.c
--- dlls/rpcrt4/rpc_server.c 5 Sep 2003 23:08:32 -0000 1.19
+++ dlls/rpcrt4/rpc_server.c 12 Sep 2003 17:22:41 -0000
@@ -117,8 +117,10 @@
{
packet->next = NULL;
EnterCriticalSection(&spacket_cs);
- if (spacket_tail) spacket_tail->next = packet;
- else {
+ if (spacket_tail) {
+ spacket_tail->next = packet;
+ spacket_tail = packet;
+ } else {
spacket_head = packet;
spacket_tail = packet;
}
More information about the wine-patches
mailing list