version 1.67, 2007/01/09 23:20:43
|
version 1.68, 2007/02/05 11:30:40
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.66 2007/01/02 19:00:59 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.67 2007/01/09 23:20:43 hyc Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2007 The OpenLDAP Foundation. |
* Copyright 1998-2007 The OpenLDAP Foundation. |
Line 191 ldap_sasl_bind_s(
|
Line 191 ldap_sasl_bind_s(
|
} |
} |
#endif |
#endif |
|
|
if ( ldap_result( ld, msgid, LDAP_MSG_ALL, NULL, &result ) == -1 ) { |
if ( ldap_result( ld, msgid, LDAP_MSG_ALL, NULL, &result ) == -1 || !result ) { |
return( ld->ld_errno ); /* ldap_result sets ld_errno */ |
return( ld->ld_errno ); /* ldap_result sets ld_errno */ |
} |
} |
|
|