From: Hallvard Furuseth Date: Thu, 4 Mar 1999 12:55:59 +0000 (+0000) Subject: K&R varargs branch of ldap_log_printf() was bogus X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~488 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac687014ecaff498eca048c961241eac61cd47b4;p=openldap K&R varargs branch of ldap_log_printf() was bogus --- diff --git a/libraries/libldap/print.c b/libraries/libldap/print.c index 5254fea8db..ee021296fa 100644 --- a/libraries/libldap/print.c +++ b/libraries/libldap/print.c @@ -45,13 +45,13 @@ va_dcl #ifdef HAVE_STDARG va_start( ap, fmt ); #else - LD *ld + LDAP *ld; int loglvl; char *fmt; va_start( ap ); - errlvl = va_arg( ap, LD * ); + ld = va_arg( ap, LDAP * ); loglvl = va_arg( ap, int ); fmt = va_arg( ap, char * ); #endif