[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: documented to return zero on fail
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: documented to return zero on failure, not vice versa |
Date: |
Sat, 07 Mar 2020 17:22:53 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 9b935def documented to return zero on failure, not vice versa
9b935def is described below
commit 9b935deff6238c5e98ed954fb037e42d321d72ed
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Mar 7 17:18:44 2020 +0100
documented to return zero on failure, not vice versa
---
src/microhttpd/mhd_send.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 99e1af4c..b0c0842b 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -63,7 +63,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection,
return; /* nothing to do *pre* syscall! */
ret = MHD_socket_cork_ (connection->socket_fd,
true);
- if (0 == ret)
+ if (0 != ret)
{
connection->sk_cork_on = true;
return;
@@ -150,7 +150,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
pre-syscall) */
ret = MHD_socket_cork_ (connection->socket_fd,
false);
- if (0 == ret)
+ if (0 != ret)
{
connection->sk_cork_on = false;
return;
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: documented to return zero on failure, not vice versa,
gnunet <=