gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: check rvalue


From: gnunet
Subject: [taler-taler-mdb] branch master updated: check rvalue
Date: Sat, 29 Aug 2020 01:24:14 +0200

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

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new ed42dfd  check rvalue
ed42dfd is described below

commit ed42dfd3fe7a09343d2504c89b4006d9ac40862b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Aug 29 01:24:11 2020 +0200

    check rvalue
---
 src/qr-show.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qr-show.c b/src/qr-show.c
index d73cd5a..d320865 100644
--- a/src/qr-show.c
+++ b/src/qr-show.c
@@ -262,10 +262,10 @@ shutdown_task (void *cls)
                   "failed to reset original display state\n");
     }
     /* close device */
-    close (qrDisplay.devicefd);
+    GNUNET_break (0 == close (qrDisplay.devicefd));
     qrDisplay.devicefd = -1;
     if (0 < qrDisplay.backlightfd)
-      close (qrDisplay.backlightfd);
+      GNUNET_break (0 == close (qrDisplay.backlightfd));
     qrDisplay.backlightfd = -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]