From 7cd83cc8a04073c808a6de96088cc812cc53bbba Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 5 Nov 1998 06:16:11 +0000 Subject: [PATCH] Simple test to verify commitlog fix. --- libraries/libldap/apitest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/libldap/apitest.c b/libraries/libldap/apitest.c index dd56702a7a..5854497f85 100644 --- a/libraries/libldap/apitest.c +++ b/libraries/libldap/apitest.c @@ -70,8 +70,10 @@ main(int argc, char **argv) printf(" API Version: %d\n", api.ldapai_api_version); printf(" Protocol Max: %d\n", api.ldapai_protocol_version); + if(api.ldapai_extensions == NULL) { printf(" Extensions: none\n"); + } else { int i; for(i=0; api.ldapai_extensions[i] != NULL; i++) { @@ -80,6 +82,7 @@ main(int argc, char **argv) } printf(" #Extensions: %d\n", i); } + printf(" Vendor Name: %s\n", api.ldapai_vendor_name); printf(" Vendor Version: %d\n", api.ldapai_vendor_version); -- 2.39.5