summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-07 23:43:38 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-07 23:43:38 +0100
commit051deacb979d0efcdde9f08a09dafd3e99fb49dd (patch)
tree1e58875846355d61fb0cf0de814e6c6f9e79d932 /src
parent38c71808066384cc7101e06eea4aeff8d84902a0 (diff)
downloadexchange-051deacb979d0efcdde9f08a09dafd3e99fb49dd.tar.gz
exchange-051deacb979d0efcdde9f08a09dafd3e99fb49dd.tar.bz2
exchange-051deacb979d0efcdde9f08a09dafd3e99fb49dd.zip
comment
Diffstat (limited to 'src')
-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");