diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-14 13:32:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-14 13:32:31 +0200 |
commit | f4a4a0806bf361ccbd2d0f9bbdc34187cccba6c6 (patch) | |
tree | 5b095579d4cc244f65472477a74c17674d329196 /src/authorization/anastasis_authorization_plugin_post.c | |
parent | 71c62583d81f149cef2bdbe13870da70b50f3cbd (diff) | |
download | anastasis-f4a4a0806bf361ccbd2d0f9bbdc34187cccba6c6.tar.gz anastasis-f4a4a0806bf361ccbd2d0f9bbdc34187cccba6c6.tar.bz2 anastasis-f4a4a0806bf361ccbd2d0f9bbdc34187cccba6c6.zip |
-more legwork for new auth method support
Diffstat (limited to 'src/authorization/anastasis_authorization_plugin_post.c')
-rw-r--r-- | src/authorization/anastasis_authorization_plugin_post.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_post.c b/src/authorization/anastasis_authorization_plugin_post.c index aeda956..bca4451 100644 --- a/src/authorization/anastasis_authorization_plugin_post.c +++ b/src/authorization/anastasis_authorization_plugin_post.c @@ -320,11 +320,13 @@ post_done_cb (void *cls, * I.e. start to send SMS or e-mail or launch video identification. * * @param as authorization state + * @param timeout how long do we have to produce a reply * @param connection HTTP client request (for queuing response, such as redirection to video portal) * @return state of the request */ static enum ANASTASIS_AUTHORIZATION_Result post_process (struct ANASTASIS_AUTHORIZATION_State *as, + struct GNUNET_TIME_Absolute timeout, struct MHD_Connection *connection) { const char *mime; @@ -349,6 +351,7 @@ post_process (struct ANASTASIS_AUTHORIZATION_State *as, GNUNET_JSON_spec_end () }; + (void) timeout; mime = MHD_lookup_connection_value (connection, MHD_HEADER_KIND, MHD_HTTP_HEADER_ACCEPT); |