From ac687014ecaff498eca048c961241eac61cd47b4 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 4 Mar 1999 12:55:59 +0000 Subject: [PATCH] K&R varargs branch of ldap_log_printf() was bogus --- libraries/libldap/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5