URL: https://github.com/freeipa/bind-dyndb-ldap/pull/8
Author: pemensik
 Title: #8: Log when pointers are different
Action: opened

PR body:
"""
Log both different addresses when it is needed to register isc and dns 
libraries and set their log context.
"""

To pull the PR as Git branch:
git remote add ghbind-dyndb-ldap https://github.com/freeipa/bind-dyndb-ldap
git fetch ghbind-dyndb-ldap pull/8/head:pr8
git checkout pr8
From f5789e328f9083eacdc04b5dba86df0dfab2f4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemen...@redhat.com>
Date: Fri, 6 Jan 2017 12:42:17 +0100
Subject: [PATCH] Log when pointers are different

---
 src/ldap_driver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ldap_driver.c b/src/ldap_driver.c
index b1b7336..53ce1a9 100644
--- a/src/ldap_driver.c
+++ b/src/ldap_driver.c
@@ -1063,6 +1063,7 @@ dyndb_init(isc_mem_t *mctx, const char *name, const char *parameters,
 		isc_lib_register();
 		isc_log_setcontext(dctx->lctx);
 		dns_log_setcontext(dctx->lctx);
+		log_debug(5, "registering library from dynamic ldap driver, %p != %p.", dctx->refvar, &isc_bind9);
 	}
 
 	isc_hash_set_initializer(dctx->hashinit);
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to