aboutsummaryrefslogtreecommitdiff
path: root/src/authorization/anastasis_authorization_plugin_sms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/authorization/anastasis_authorization_plugin_sms.c')
-rw-r--r--src/authorization/anastasis_authorization_plugin_sms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_sms.c b/src/authorization/anastasis_authorization_plugin_sms.c
index 1e9eb59..05d7148 100644
--- a/src/authorization/anastasis_authorization_plugin_sms.c
+++ b/src/authorization/anastasis_authorization_plugin_sms.c
@@ -283,17 +283,20 @@ sms_done_cb (void *cls,
283 * I.e. start to send SMS or e-mail or launch video identification. 283 * I.e. start to send SMS or e-mail or launch video identification.
284 * 284 *
285 * @param as authorization state 285 * @param as authorization state
286 * @param timeout how long do we have to produce a reply
286 * @param connection HTTP client request (for queuing response, such as redirection to video portal) 287 * @param connection HTTP client request (for queuing response, such as redirection to video portal)
287 * @return state of the request 288 * @return state of the request
288 */ 289 */
289static enum ANASTASIS_AUTHORIZATION_Result 290static enum ANASTASIS_AUTHORIZATION_Result
290sms_process (struct ANASTASIS_AUTHORIZATION_State *as, 291sms_process (struct ANASTASIS_AUTHORIZATION_State *as,
292 struct GNUNET_TIME_Absolute timeout,
291 struct MHD_Connection *connection) 293 struct MHD_Connection *connection)
292{ 294{
293 MHD_RESULT mres; 295 MHD_RESULT mres;
294 const char *mime; 296 const char *mime;
295 const char *lang; 297 const char *lang;
296 298
299 (void) timeout;
297 mime = MHD_lookup_connection_value (connection, 300 mime = MHD_lookup_connection_value (connection,
298 MHD_HEADER_KIND, 301 MHD_HEADER_KIND,
299 MHD_HTTP_HEADER_ACCEPT); 302 MHD_HTTP_HEADER_ACCEPT);