[Git][NTPsec/ntpsec][master] assert: handle case where no backtrace possible.
Gary E. Miller
gitlab at mg.gitlab.com
Fri Jun 2 23:47:56 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
ba149558 by Gary E. Miller at 2017-06-02T16:47:27-07:00
assert: handle case where no backtrace possible.
- - - - -
1 changed file:
- libntp/assert.c
Changes:
=====================================
libntp/assert.c
=====================================
--- a/libntp/assert.c
+++ b/libntp/assert.c
@@ -108,10 +108,10 @@ backtrace_log(void) {
return (ISC_R_SUCCESS);
}
# else
-# define(BACKTRACE_DISABLED)
+# define BACKTRACE_DISABLED 1
# endif
#else /* ! USEBACKTRACE */
-# define(BACKTRACE_DISABLED)
+# define BACKTRACE_DISABLED 1
#endif /* USEBACKTRACE */
static const char *
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ba14955871f71ef16a620e442e1b0fa0b4c61d7b
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/ba14955871f71ef16a620e442e1b0fa0b4c61d7b
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170602/c2cc8a26/attachment.html>
More information about the vc
mailing list