mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
hang the event from the retry structure instead of the hdr structure
(This used to be ctdb commit 8536c8c3a30a986ba4945d02aef82b47495ce3f8)
This commit is contained in:
parent
c938c1b5de
commit
bbaaf2bbf4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user