--- libraries/libldap/result.c 2005/10/11 22:23:31 1.117 +++ libraries/libldap/result.c 2005/10/11 22:31:05 1.118 @@ -1,5 +1,5 @@ /* result.c - wait for an ldap result */ -/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.116 2005/10/11 22:05:43 hyc Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.117 2005/10/11 22:23:31 hyc Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2005 The OpenLDAP Foundation. @@ -242,7 +242,7 @@ wait4msg( ld, msgid, 0 ); } else { Debug( LDAP_DEBUG_TRACE, "wait4msg ld %p msgid %d (timeout %ld usec)\n", - ld, (long)timeout->tv_sec * 1000000 + timeout->tv_usec, msgid ); + ld, msgid, (long)timeout->tv_sec * 1000000 + timeout->tv_usec ); } #endif /* LDAP_DEBUG */