mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
LibCTDB : initialize ctdb->pnn to -1 when we create a new context
but before we learn the pnn of the local node (This used to be ctdb commit 2cc48be3219b887b85649a14db311af0549041cf)
This commit is contained in:
parent
c0f724e0f9
commit
7e29817f61
@ -151,6 +151,7 @@ struct ctdb_connection *ctdb_connect(const char *addr,
|
||||
log_fn(log_priv, LOG_ERR, "ctdb_connect: no memory", ap);
|
||||
goto fail;
|
||||
}
|
||||
ctdb->pnn = -1;
|
||||
ctdb->outq = NULL;
|
||||
ctdb->doneq = NULL;
|
||||
ctdb->in = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user