author | Michael Krelin <hacker@klever.net> | 2007-09-22 21:02:48 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-09-22 21:02:48 (UTC) |
commit | 17dd1771421d1098a2ba8dc16ae381912cae64ef (patch) (side-by-side diff) | |
tree | e4a3c21ab8dad60ef746b6650e63ddb9d608742c | |
parent | 5cb71518360f865cd4448a083b5d481e6f356a3e (diff) | |
download | libopkele-17dd1771421d1098a2ba8dc16ae381912cae64ef.zip libopkele-17dd1771421d1098a2ba8dc16ae381912cae64ef.tar.gz libopkele-17dd1771421d1098a2ba8dc16ae381912cae64ef.tar.bz2 |
save a couple of ticks
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | lib/consumer.cc | 5 |
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 @@ -343,10 +343,9 @@ namespace opkele { continue; 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; } |