summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2008-12-04 00:55:47 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2008-12-04 00:55:47 +0000
commitc1ec224244043a67c23933f5ae0394616aa403b5 (patch)
tree7117c58fbc5e3e23b7514a74644f77ca7181dbaf /ldap/servers/plugins
parent8233e81582c0382da72df1e2e6093a3481ac5b85 (diff)
downloadds-c1ec224244043a67c23933f5ae0394616aa403b5.tar.gz
ds-c1ec224244043a67c23933f5ae0394616aa403b5.tar.xz
ds-c1ec224244043a67c23933f5ae0394616aa403b5.zip
Resolves: #240512
Summary: schema replication op error logs wrong error Description: As suggested by Ulf in his original comment, put break in the case CONN_OPERATION_FAILED and set the macro to return_value for the readability.
Diffstat (limited to 'ldap/servers/plugins')
-rw-r--r--ldap/servers/plugins/replication/repl5_connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/plugins/replication/repl5_connection.c b/ldap/servers/plugins/replication/repl5_connection.c
index 536849e7..5125b015 100644
--- a/ldap/servers/plugins/replication/repl5_connection.c
+++ b/ldap/servers/plugins/replication/repl5_connection.c
@@ -1458,6 +1458,8 @@ conn_push_schema(Repl_Connection *conn, CSN **remotecsn)
"%s: Schema replication update failed: %s\n",
agmt_get_long_name(conn->agmt),
ldaperr == -1 ? "Unknown Error" : ldap_err2string(ldaperr));
+ return_value = CONN_OPERATION_FAILED;
+ break;
}
case CONN_NOT_CONNECTED:
return_value = CONN_NOT_CONNECTED;