aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/testing_api_cmd_oauth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_oauth.c b/src/testing/testing_api_cmd_oauth.c
index 0040c74e4..d30bff974 100644
--- a/src/testing/testing_api_cmd_oauth.c
+++ b/src/testing/testing_api_cmd_oauth.c
@@ -102,6 +102,10 @@ handler_cb (void *cls,
unsigned int hc;
json_t *body;
+ /* NOTE: In the future, we MAY want to distinguish between
+ the different URLs and possibly return more information.
+ For now, just do the minimum: implement the main handler
+ that checks the code. */
code = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"code");