]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
hang the event from the retry structure instead of the hdr structure
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 9 May 2007 04:08:11 +0000 (14:08 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 9 May 2007 04:08:11 +0000 (14:08 +1000)
(This used to be ctdb commit 8536c8c3a30a986ba4945d02aef82b47495ce3f8)

ctdb/common/ctdb_daemon.c

index 43f09a802104e2bb8745095e8b1f6e028e52517e..c7a07f354d26758488ebc75b5ccb1304c0f79831 100644 (file)
@@ -495,7 +495,7 @@ static void daemon_incoming_packet(void *p, uint8_t *data, uint32_t nread)
                        /* cant let the mem_ctx free hdr below */
                        talloc_steal(retry, hdr);
 
-                       event_add_timed(ctdb->ev, hdr, timeval_current_ofs(1,0), retry_client_packet, retry);
+                       event_add_timed(ctdb->ev, retry, timeval_current_ofs(1,0), retry_client_packet, retry);
                        break;
                }