aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-12-01 02:54:50 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-12-01 02:54:50 -0500
commit41aba39f0fccc8ba30ba78995880aa07704dbb25 (patch)
tree6971b6200d627a7708537ae255c48c28b5c74912
parentc47cb65fb80325cf9a6791fad66c75b603c6ee28 (diff)
move var decl to proper scope (where it's used)
-rw-r--r--src/exchange/taler-exchange-httpd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 0d001fde7..64304e9c2 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -914,8 +914,6 @@ handle_mhd_request (void *cls,
(void) version;
if (NULL == rc)
{
- unsigned long long cnt;
-
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Handling new request\n");
@@ -1644,6 +1642,7 @@ connection_done (void *cls,
(void) cls;
(void) connection;
(void) socket_context;
+ unsigned long long cnt;
#if HAVE_DEVELOPER
/* We only act if the connection is closed. */