]> git.sur5r.net Git - openldap/commitdiff
K&R varargs branch of ldap_log_printf() was bogus
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 4 Mar 1999 12:55:59 +0000 (12:55 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 4 Mar 1999 12:55:59 +0000 (12:55 +0000)
libraries/libldap/print.c

index 5254fea8db43c47b823e5ca6b351fc0c772aede2..ee021296fa374d8dc351ecd31e17bd2a1f629e48 100644 (file)
@@ -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