summaryrefslogtreecommitdiffabout
path: root/lib
Unidiff
Diffstat (limited to 'lib') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/consumer.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/consumer.cc b/lib/consumer.cc
index df95b64..7f31d52 100644
--- a/lib/consumer.cc
+++ b/lib/consumer.cc
@@ -344,8 +344,7 @@ namespace opkele {
344 string rel(attrs,m1.begin(1),m1.length(1)); 344 string rel(attrs,m1.begin(1),m1.length(1));
345 string href(attrs,m2.begin(1),m2.length(1));
346 if(rel=="openid.server") { 345 if(rel=="openid.server") {
347 server = href; 346 server.assign(attrs,m2.begin(1),m2.length(1));
348 if(!delegate.empty()) break; 347 if(!delegate.empty()) break;
349 }else if(rel=="openid.delegate") { 348 }else if(rel=="openid.delegate") {
350 delegate = href; 349 delegate.assign(attrs,m2.begin(1),m2.length(1));
351 if(!server.empty()) break; 350 if(!server.empty()) break;