From 4e35517e050966edfbc0f22d6d107b15df24faae Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 10 Aug 2004 18:18:18 +0000 Subject: fixed a few errors --- docs/lasso-book/writing-a-c-sp.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/lasso-book/writing-a-c-sp.txt b/docs/lasso-book/writing-a-c-sp.txt index 4c54b0f4..0141055a 100644 --- a/docs/lasso-book/writing-a-c-sp.txt +++ b/docs/lasso-book/writing-a-c-sp.txt @@ -56,7 +56,7 @@ identity provider Id (defined in metadata). You can now redirect the user to the URL defined in ``login->msg_url``; for example, in a CGI:: - printf("Location: %s\n", login.msg_url); + printf("Location: %s\n", login->msg_url); The user then logs in on the identity provider which ultimately redirects back @@ -72,11 +72,10 @@ passed in the query parameter. login_build_request_msg(login); The service provider must check this artifact using a SOAP request to the -identity provider. The URL is ``login.msg_url`` while the request is -``login.msg_body``. The request must succeed with an HTTP 200 status code; -its content is put in the ``answer``. - -:: +identity provider. The URL is ``login->msg_url`` while the request is +``login->msg_body``. The request must succeed with an HTTP 200 status code; +let's consider its content is put in the ``answer``, the next statement would +be:: login_process_response_msg(login, answer); -- cgit