-rw-r--r-- | test/OP.cc | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -61,4 +61,4 @@ class example_op_t : public opkele::verify_OP { - example_op_t(kingate::cgi_gateway& gw) - : gw(gw) { + example_op_t(kingate::cgi_gateway& g) + : gw(g) { try { @@ -202,3 +202,3 @@ class example_op_t : public opkele::verify_OP { -int main(int argc,char *argv[]) { +int main(int,char **) { try { @@ -246,4 +246,4 @@ int main(int argc,char *argv[]) { } - string om; - try { om = gw.get_param("openid.mode"); }catch(kingate::exception_notfound&) { } + string omode; + try { omode = gw.get_param("openid.mode"); }catch(kingate::exception_notfound&) { } if(op=="xrds") { @@ -297,3 +297,3 @@ int main(int argc,char *argv[]) { om.to_keyvalues(clog); - }else if(om=="associate") { + }else if(omode=="associate") { kingate_openid_message_t inm(gw); @@ -304,3 +304,3 @@ int main(int argc,char *argv[]) { oum.to_keyvalues(cout); - }else if(om=="checkid_setup") { + }else if(omode=="checkid_setup") { kingate_openid_message_t inm(gw); @@ -338,3 +338,3 @@ int main(int argc,char *argv[]) { "</html>"; - }else if(om=="check_authentication") { + }else if(omode=="check_authentication") { kingate_openid_message_t inm(gw); |