[Cluster-devel] conga/ricci/ricci Ricci.cpp
kupcevic at sourceware.org
kupcevic at sourceware.org
Wed Jul 12 18:46:09 UTC 2006
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-07-12 18:46:08
Modified files:
ricci/ricci : Ricci.cpp
Log message:
ricci: 'unauthenticate' function should always succeed
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.cpp.diff?cvsroot=cluster&r1=1.12&r2=1.13
--- conga/ricci/ricci/Ricci.cpp 2006/07/12 18:27:26 1.12
+++ conga/ricci/ricci/Ricci.cpp 2006/07/12 18:46:08 1.13
@@ -152,13 +152,15 @@
} else if (function == "unauthenticate") {
if (!authenticated) {
// not authenticated
- success = RRC_NEED_AUTH;
+ // success = RRC_NEED_AUTH;
+ // unauthenticate should always succeed
+ success = RRC_SUCCESS;
} else {
// authenticated
resp = ricci_header(false);
success = RRC_SUCCESS;
remove_cert = true;
- } // authenticated
+ }
} else if (function == "list_modules") {
// available modules
@@ -176,7 +178,7 @@
resp.add_child(x);
}
success = RRC_SUCCESS;
- } // authenticated
+ }
} else if (function == "process_batch") {
More information about the Cluster-devel
mailing list