summaryrefslogtreecommitdiffabout
path: root/lib/consumer.cc
Side-by-side diff
Diffstat (limited to 'lib/consumer.cc') (more/less context) (show 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 {
string rel(attrs,m1.begin(1),m1.length(1));
- string href(attrs,m2.begin(1),m2.length(1));
if(rel=="openid.server") {
- server = href;
+ server.assign(attrs,m2.begin(1),m2.length(1));
if(!delegate.empty()) break;
}else if(rel=="openid.delegate") {
- delegate = href;
+ delegate.assign(attrs,m2.begin(1),m2.length(1));
if(!server.empty()) break;