summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-12-15 15:04:01 (UTC)
committer Michael Krelin <hacker@klever.net>2007-12-15 15:04:40 (UTC)
commit52c81fff0274c6bb54f6f9be414432ee6388e723 (patch) (side-by-side diff)
treedc950b3f640bd7db8fc3f9f331f51a724a84f440
parent58383f07af80dfd5b5c18e5158291c3d8caefbe7 (diff)
downloadlibopkele-52c81fff0274c6bb54f6f9be414432ee6388e723.zip
libopkele-52c81fff0274c6bb54f6f9be414432ee6388e723.tar.gz
libopkele-52c81fff0274c6bb54f6f9be414432ee6388e723.tar.bz2
fixed handling of openid:Delegate in discovery
which was mistakenly added to the list of endpoint URIs instead of local ids. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/discovery.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/discovery.cc b/lib/discovery.cc
index 1f23ff1..9503b5d 100644
--- a/lib/discovery.cc
+++ b/lib/discovery.cc
@@ -267,13 +267,13 @@ namespace opkele {
}else if(is_qelement(n,NSURI_XRD "\tURI")) {
assert(xrd); assert(xrd_service);
cdata = &(xrd_service->uris.add(element_priority(a),string()));
}else if(is_qelement(n,NSURI_XRD "\tLocalID")
|| is_qelement(n,NSURI_OPENID10 "\tDelegate") ) {
assert(xrd); assert(xrd_service);
- cdata = &(xrd_service->uris.add(element_priority(a),string()));
+ cdata = &(xrd_service->local_ids.add(element_priority(a),string()));
}else{
skipping = 1;
}
}else
skipping = 1;
}else if(xmode&xmode_html) {