diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-13 15:57:11 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-13 15:57:11 -0500 |
commit | 71e792652545a8a9eee962dde392058628e48b3a (patch) | |
tree | 75c37364b33bc281668db8061a40dd39e5d5cf58 /src/wrap.c | |
parent | a59317207f2f6330ca5d79a06ded95195cf14fdf (diff) | |
download | slapi-nis-71e792652545a8a9eee962dde392058628e48b3a.tar.gz slapi-nis-71e792652545a8a9eee962dde392058628e48b3a.tar.xz slapi-nis-71e792652545a8a9eee962dde392058628e48b3a.zip |
- always use TXN IDs, if they exist, even if we don't really care
Diffstat (limited to 'src/wrap.c')
-rw-r--r-- | src/wrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright 2008,2010 Red Hat, Inc. + * Copyright 2008,2010,2012 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -275,7 +275,7 @@ wrap_pblock_new(Slapi_PBlock *parent) Slapi_PBlock *ret; ret = slapi_pblock_new(); -#ifdef USE_SLAPI_BE_TXNS +#ifdef defined(SLAPI_TXN) && defined(SLAPI_PARENT_TXN) if (ret != NULL) { void *txn; slapi_pblock_get(parent, SLAPI_TXN, &txn); |