version 1.92, 2005/08/08 10:38:20
|
version 1.93, 2005/08/08 22:11:42
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.91 2005/08/02 06:43:27 hallvard Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.92 2005/08/08 10:38:20 hyc Exp $ */ |
/* syncprov.c - syncrepl provider */ |
/* syncprov.c - syncrepl provider */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
Line 2346 static int syncprov_parseCtrl (
|
Line 2346 static int syncprov_parseCtrl (
|
tag = ber_peek_tag( ber, &len ); |
tag = ber_peek_tag( ber, &len ); |
|
|
if ( tag == LDAP_TAG_SYNC_COOKIE ) { |
if ( tag == LDAP_TAG_SYNC_COOKIE ) { |
if (( ber_scanf( ber, /*{*/ "o", &cookie )) == LBER_ERROR ) { |
if (( ber_scanf( ber, /*{*/ "m", &cookie )) == LBER_ERROR ) { |
rs->sr_text = "Sync control : cookie decoding error"; |
rs->sr_text = "Sync control : cookie decoding error"; |
return LDAP_PROTOCOL_ERROR; |
return LDAP_PROTOCOL_ERROR; |
} |
} |