summaryrefslogtreecommitdiff
path: root/lib/northbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/northbound.c')
-rw-r--r--lib/northbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound.c b/lib/northbound.c
index 206a88d980..cebedcff09 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -996,7 +996,7 @@ static int nb_transaction_process(enum nb_event event,
* Only try to release resources that were allocated
* successfully.
*/
- if (event == NB_EV_ABORT && change->prepare_ok == false)
+ if (event == NB_EV_ABORT && !change->prepare_ok)
break;
/* Call the appropriate callback. */