/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2006-2007 The OpenLDAP Foundation.
+ * Copyright 2006-2010 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
rc ? "!!! " : "",
rc );
#endif /* LDAP_SYNC_TRACE */
- if ( rc == LBER_ERROR ) {
+ if ( rc < 0 ) {
rc = LDAP_OTHER;
goto done;
}