X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=clients%2Fgopher%2Fgo500gw.c;h=9381acda5bd208da291e2d12edad3956118304cd;hb=21c70857f1029309d6bc5a5b6a93d7537494b742;hp=e03bd4b4f821fd3559ecbc940e44857197d31e8e;hpb=ff23537bcb84998aa03156c89ee597ca02e86866;p=openldap diff --git a/clients/gopher/go500gw.c b/clients/gopher/go500gw.c index e03bd4b4f8..9381acda5b 100644 --- a/clients/gopher/go500gw.c +++ b/clients/gopher/go500gw.c @@ -13,7 +13,8 @@ #include "portable.h" #include -#include + +#include #include #include @@ -48,6 +49,8 @@ #include "ldapconfig.h" int debug; +int ldap_syslog; +int ldap_syslog_level; int dosyslog; int inetd; int dtblsize; @@ -193,7 +196,7 @@ main (int argc, char **argv ) myname = strdup( myname + 1 ); if ( debug ) { - lber_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &debug); + ber_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &debug); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &debug); } @@ -394,7 +397,7 @@ do_queries( int s ) if ( debug ) { fprintf( stderr, "got %d bytes\n", len ); #ifdef LDAP_DEBUG - lber_bprint( buf, len ); + ber_bprint( buf, len ); #endif }