gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 190/335: GENERATED: C89/C99


From: gnunet
Subject: [libmicrohttpd] 190/335: GENERATED: C89/C99
Date: Sat, 27 Jul 2024 22:01:26 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.

commit af6b59571bb5807bacbd46374ddeac7dd379dc9f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Jun 8 13:42:00 2024 +0200

    GENERATED: C89/C99
---
 src/mhd2/daemon_set_options.c   | 4 +++-
 src/mhd2/response_set_options.c | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/mhd2/daemon_set_options.c b/src/mhd2/daemon_set_options.c
index 144ced7b..b3182652 100644
--- a/src/mhd2/daemon_set_options.c
+++ b/src/mhd2/daemon_set_options.c
@@ -22,7 +22,9 @@ MHD_daemon_set_options (struct MHD_Daemon *daemon,
                         const struct MHD_DaemonOptionAndValue *options,
                         size_t options_max_num)
 {
-  for (size_t i=0;i<options_max_num;i++)
+  size_t i;
+
+  for (i=0;i<options_max_num;i++)
   {
     switch (options[i].opt) {
     case MHD_D_OPTION_WORK_MODE:
diff --git a/src/mhd2/response_set_options.c b/src/mhd2/response_set_options.c
index 4c4a416f..5f42ae8e 100644
--- a/src/mhd2/response_set_options.c
+++ b/src/mhd2/response_set_options.c
@@ -21,7 +21,9 @@ MHD_response_set_options (struct MHD_Response *response,
                           const struct MHD_ResponseOptionAndValue *options,
                           size_t options_max_num)
 {
-  for (size_t i=0;i<options_max_num;i++)
+  size_t i;
+
+  for (i=0;i<options_max_num;i++)
   {
     switch (options[i].opt) {
     case MHD_R_OPTION_REUSABLE:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]