commit 41aba39f0fccc8ba30ba78995880aa07704dbb25
parent c47cb65fb80325cf9a6791fad66c75b603c6ee28
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Wed, 1 Dec 2021 02:54:50 -0500
move var decl to proper scope (where it's used)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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. */