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) (unidiff)
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
@@ -270,7 +270,7 @@ namespace opkele {
270 }else if(is_qelement(n,NSURI_XRD "\tLocalID") 270 }else if(is_qelement(n,NSURI_XRD "\tLocalID")
271 || is_qelement(n,NSURI_OPENID10 "\tDelegate") ) { 271 || is_qelement(n,NSURI_OPENID10 "\tDelegate") ) {
272 assert(xrd); assert(xrd_service); 272 assert(xrd); assert(xrd_service);
273 cdata = &(xrd_service->uris.add(element_priority(a),string())); 273 cdata = &(xrd_service->local_ids.add(element_priority(a),string()));
274 }else{ 274 }else{
275 skipping = 1; 275 skipping = 1;
276 } 276 }