[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36330 - in gnunet/src: datastore namecache namestore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36330 - in gnunet/src: datastore namecache namestore |
Date: |
Sun, 6 Sep 2015 00:35:23 +0200 |
Author: grothoff
Date: 2015-09-06 00:35:23 +0200 (Sun, 06 Sep 2015)
New Revision: 36330
Modified:
gnunet/src/datastore/plugin_datastore_sqlite.c
gnunet/src/namecache/plugin_namecache_sqlite.c
gnunet/src/namestore/plugin_namestore_sqlite.c
Log:
-fix
Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c 2015-09-05 22:32:52 UTC
(rev 36329)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c 2015-09-05 22:35:23 UTC
(rev 36330)
@@ -210,7 +210,7 @@
#else
#define ENULL &e
#define ENULL_DEFINED 1
-#define CHECK(a) if (! a) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
+#define CHECK(a) if (! (a)) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
#endif
Modified: gnunet/src/namecache/plugin_namecache_sqlite.c
===================================================================
--- gnunet/src/namecache/plugin_namecache_sqlite.c 2015-09-05 22:32:52 UTC
(rev 36329)
+++ gnunet/src/namecache/plugin_namecache_sqlite.c 2015-09-05 22:35:23 UTC
(rev 36330)
@@ -145,7 +145,7 @@
#else
#define ENULL &e
#define ENULL_DEFINED 1
-#define CHECK(a) if (! a) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
+#define CHECK(a) if (! (a)) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
#endif
Modified: gnunet/src/namestore/plugin_namestore_sqlite.c
===================================================================
--- gnunet/src/namestore/plugin_namestore_sqlite.c 2015-09-05 22:32:52 UTC
(rev 36329)
+++ gnunet/src/namestore/plugin_namestore_sqlite.c 2015-09-05 22:35:23 UTC
(rev 36330)
@@ -156,7 +156,7 @@
#else
#define ENULL &e
#define ENULL_DEFINED 1
-#define CHECK(a) if (! a) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
+#define CHECK(a) if (! (a)) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36330 - in gnunet/src: datastore namecache namestore,
gnunet <=