From 71e792652545a8a9eee962dde392058628e48b3a Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Jan 13 2012 20:57:11 +0000 Subject: - always use TXN IDs, if they exist, even if we don't really care --- diff --git a/src/wrap.c b/src/wrap.c index 327212c..99c6860 100644 --- a/src/wrap.c +++ b/src/wrap.c @@ -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);