1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

workaround proposal for the initialization-problem

(This used to be ctdb commit 2ee400d99fb57796a0e7c3256387ef77f6908f33)
This commit is contained in:
Peter Somogyi 2007-02-16 15:21:31 +01:00
parent c82dd38544
commit 847343e00e

View File

@ -60,6 +60,8 @@ int ctdb_send_message(struct ctdb_context *ctdb, uint32_t vnn,
struct ctdb_req_message *r;
int len;
ctdb_connect_wait(ctdb); /* recursion */
len = offsetof(struct ctdb_req_message, data) + data.dsize;
r = ctdb->methods->allocate_pkt(ctdb, len);
CTDB_NO_MEMORY(ctdb, r);