[Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication repl5_connection.c, 1.13, 1.14

Noriko Hosoi nhosoi at fedoraproject.org
Thu Dec 4 00:55:50 UTC 2008


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/replication
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19289

Modified Files:
	repl5_connection.c 
Log Message:
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.



Index: repl5_connection.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/replication/repl5_connection.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- repl5_connection.c	2 Dec 2008 15:29:30 -0000	1.13
+++ repl5_connection.c	4 Dec 2008 00:55:47 -0000	1.14
@@ -1458,6 +1458,8 @@
 							"%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;




More information about the Fedora-directory-commits mailing list