projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix use of uninitialized memory
[oweals/gnunet.git]
/
src
/
namecache
/
plugin_namecache_sqlite.c
diff --git
a/src/namecache/plugin_namecache_sqlite.c
b/src/namecache/plugin_namecache_sqlite.c
index 708229c5b525209c334e13fad7890cef7deeda40..cd89f4b337aa272f85141d92a8779d9dd9273d47 100644
(file)
--- a/
src/namecache/plugin_namecache_sqlite.c
+++ b/
src/namecache/plugin_namecache_sqlite.c
@@
-145,7
+145,7
@@
create_indices (sqlite3 * dbh)
#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