From: Ronnie Sahlberg Date: Wed, 9 May 2007 04:08:11 +0000 (+1000) Subject: hang the event from the retry structure instead of the hdr structure X-Git-Tag: tevent-0.9.20~348^2~2765^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbaaf2bbf449d98029af55ea9f25e5d548999fe1;p=thirdparty%2Fsamba.git hang the event from the retry structure instead of the hdr structure (This used to be ctdb commit 8536c8c3a30a986ba4945d02aef82b47495ce3f8) --- diff --git a/ctdb/common/ctdb_daemon.c b/ctdb/common/ctdb_daemon.c index 43f09a80210..c7a07f354d2 100644 --- a/ctdb/common/ctdb_daemon.c +++ b/ctdb/common/ctdb_daemon.c @@ -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; }