[dcom 2] RPCRT4 bugfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
   }




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux