gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/02: examples/sessions.c: fixed wrong check for error


From: gnunet
Subject: [libmicrohttpd] 01/02: examples/sessions.c: fixed wrong check for error
Date: Fri, 15 Sep 2023 08:31:00 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 17b59778ea1e81b14af440fe360caef63155a910
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Sep 15 09:29:20 2023 +0300

    examples/sessions.c: fixed wrong check for error
---
 doc/examples/sessions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c
index 3f60c291..f15c03cc 100644
--- a/doc/examples/sessions.c
+++ b/doc/examples/sessions.c
@@ -374,7 +374,7 @@ fill_v1_v2_form (const void *cls,
   if (NULL == reply)
     return MHD_NO; /* Out-of-memory error */
 
-  if (reply_len == snprintf (reply,
+  if (reply_len != snprintf (reply,
                              ((size_t) reply_len) + 1,
                              FORM_V1_V2,
                              session->value_1,

-- 
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]