From: Kurt Zeilenga Date: Thu, 5 Nov 1998 06:16:11 +0000 (+0000) Subject: Simple test to verify commitlog fix. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7cd83cc8a04073c808a6de96088cc812cc53bbba;p=openldap Simple test to verify commitlog fix. --- 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);