[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] 01/02: fix
From: |
gnunet |
Subject: |
[taler-taler-mdb] 01/02: fix |
Date: |
Fri, 06 Dec 2019 10:25:45 +0100 |
This is an automated email from the git hooks/post-receive script.
dominik-hofer pushed a commit to branch master
in repository taler-mdb.
commit 61c69c550c41c639cfca213cb3aa6ac72ea29509
Author: Dominik Hofer <address@hidden>
AuthorDate: Fri Dec 6 10:13:20 2019 +0100
fix
---
src/main.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main.c b/src/main.c
index 0a69ebc..ae5c870 100644
--- a/src/main.c
+++ b/src/main.c
@@ -51,12 +51,14 @@ along with
#include <gnunet/gnunet_json_lib.h>
#include <taler/taler_json_lib.h>
#include <taler/taler_merchant_service.h>
-#if HAVE_QRENCODE_H /* for adafruit pitft display */
+#if HAVE_QRENCODE_H
+
+#endif
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+/* for adafruit pitft display */
#include <linux/fb.h>
-#endif
/* Constants */
#define MAX_SIZE_RX_BUFFER 256
@@ -1873,7 +1875,6 @@ run_mdb_event_loop ()
{
struct GNUNET_DISK_FileHandle fh = { mdb.uartfd };
- return;
if ( (GNUNET_NO == mdb.session_running) &&
(NULL == mdb.cmd) &&
(NULL == mdb.last_cmd) )
@@ -2000,6 +2001,8 @@ mdb_init ()
if (disable_mdb)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Running with MDB disabled!\n");
run_mdb_event_loop ();
return GNUNET_OK;
}
--
To stop receiving notification emails like this one, please contact
address@hidden.