From 9474fb7a1cc6fa6bcdd212b1ff60f4f36a193c80 Mon Sep 17 00:00:00 2001
From: Lubos Slovak <lubos.slovak@nic.cz>
Date: Wed, 9 Oct 2013 15:34:38 +0200
Subject: [PATCH] Fixed wrong condition (again).

---
 src/libknot/zone/zone-contents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libknot/zone/zone-contents.c b/src/libknot/zone/zone-contents.c
index fb8f3ed30..d35d0615e 100644
--- a/src/libknot/zone/zone-contents.c
+++ b/src/libknot/zone/zone-contents.c
@@ -145,7 +145,7 @@ static int knot_zone_contents_nsec3_name(const knot_zone_contents_t *zone,
 	}
 
 	*nsec3_name = create_nsec3_owner(name, zone->apex->owner, nsec3_params);
-	if (nsec3_name == NULL) {
+	if (*nsec3_name == NULL) {
 		return KNOT_ERROR;
 	}
 
-- 
GitLab