commit: r687 - trunk/daemon

[email protected] Fri, 24 Jan 2014 18:28:56 -0500
Newsgroups gmane.network.spread.cvs
Message-ID <[email protected]>
Author: jschultz
Date: 2014-01-24 18:28:55 -0500 (Fri, 24 Jan 2014)
New Revision: 687

Modified:
   trunk/daemon/protocol.c
Log:
Bugfix of Send_new_packets: using previously disposed structure


Modified: trunk/daemon/protocol.c
===================================================================
--- trunk/daemon/protocol.c	2014-01-24 21:09:16 UTC (rev 686)
+++ trunk/daemon/protocol.c	2014-01-24 23:28:55 UTC (rev 687)
@@ -1236,7 +1236,7 @@
 
                 /* insert new created packet */
                 Packets[pack_entry].head       = pack_ptr;
-                Packets[pack_entry].body       = (packet_body *)send_pack_ptr->elements[1].buf;
+                Packets[pack_entry].body       = (packet_body *) body_ptr;
                 Packets[pack_entry].exist      = 1;
                 Packets[pack_entry].proc_index = My_index;
                 Alarm( PROTOCOL,