projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a missing nullpointer check
[project/uci.git]
/
err.h
diff --git
a/err.h
b/err.h
index
bc83863
..
686cde3
100644
(file)
--- a/
err.h
+++ b/
err.h
@@
-41,7
+41,9
@@
* and UCI_TRAP_RESTORE.
*/
#define UCI_HANDLE_ERR(ctx) do { \
+ DPRINTF("ENTER: %s\n", __func__); \
int __val = 0; \
+ ctx->errno = 0; \
if (!ctx) \
return UCI_ERR_INVAL; \
if (!ctx->internal) \