diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-16 15:02:04 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-16 15:02:04 -0500 |
commit | 6c520082cd8e68dbefd467fea1e8c41be8b98b3c (patch) | |
tree | bf707d73df901dc8f425697b853165ac1811864b /src/wrap.c | |
parent | 7e2ac33ed9bd8ad03ac47b2dfa1924efc1e26041 (diff) | |
download | slapi-nis-6c520082cd8e68dbefd467fea1e8c41be8b98b3c.tar.gz slapi-nis-6c520082cd8e68dbefd467fea1e8c41be8b98b3c.tar.xz slapi-nis-6c520082cd8e68dbefd467fea1e8c41be8b98b3c.zip |
- copy PARENT_TXN, too
Diffstat (limited to 'src/wrap.c')
-rw-r--r-- | src/wrap.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -278,6 +278,10 @@ wrap_pblock_new(Slapi_PBlock *parent) #if defined(SLAPI_TXN) && defined(SLAPI_PARENT_TXN) if (ret != NULL) { void *txn; + slapi_pblock_get(parent, SLAPI_PARENT_TXN, &txn); + if (txn != NULL) { + slapi_pblock_set(ret, SLAPI_PARENT_TXN, &txn); + } slapi_pblock_get(parent, SLAPI_TXN, &txn); if (txn != NULL) { slapi_pblock_set(ret, SLAPI_TXN, &txn); |