X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=err.h;h=686cde354b5d24fc3886c27a6ca217f3e0815106;hp=bc838634131327bdf75626813f0ea6e049dbf4f5;hb=0731533959779889ceff15f068c31031bc77f003;hpb=a79ac49b066a821b6d99bca846091854e3715a49 diff --git a/err.h b/err.h index bc83863..686cde3 100644 --- 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) \