gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: -very theoretically, 0 would be O


From: gnunet
Subject: [libmicrohttpd] branch master updated: -very theoretically, 0 would be OK, too
Date: Mon, 25 Sep 2023 21:13:25 +0200

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 e42c783b -very theoretically, 0 would be OK, too
e42c783b is described below

commit e42c783bb884dd7e9319236a3bcd3abb5819fce6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Sep 25 21:13:17 2023 +0200

    -very theoretically, 0 would be OK, too
---
 src/testcurl/test_digestauth2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testcurl/test_digestauth2.c b/src/testcurl/test_digestauth2.c
index 275b53df..62a4d4a2 100644
--- a/src/testcurl/test_digestauth2.c
+++ b/src/testcurl/test_digestauth2.c
@@ -359,7 +359,7 @@ gen_good_rnd (void *rnd_buf, size_t rnd_buf_size)
   if (1)
   {
     const int urand_fd = open ("/dev/urandom", O_RDONLY);
-    if (0 < urand_fd)
+    if (0 <= urand_fd)
     {
       size_t pos = 0;
       do

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