diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 12:36:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:32:13 -0400 |
commit | 54c5366aa15d667484a93abf16d166db7981a0ea (patch) | |
tree | 5c0e75d54fadb9e946f1b1ffd9e0ea942d4678f4 /src/feature/control/control_events.c | |
parent | d6ce8527f8795c3385320baa17e080bde999e29a (diff) | |
download | tor-54c5366aa15d667484a93abf16d166db7981a0ea.tar.gz tor-54c5366aa15d667484a93abf16d166db7981a0ea.zip |
feature/control: wrap some problem macros in COCCI
Diffstat (limited to 'src/feature/control/control_events.c')
-rw-r--r-- | src/feature/control/control_events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/control/control_events.c b/src/feature/control/control_events.c index 82ea943999..cc6b5019b3 100644 --- a/src/feature/control/control_events.c +++ b/src/feature/control/control_events.c @@ -1660,6 +1660,7 @@ control_event_status(int type, int severity, const char *format, va_list args) return 0; } +#ifndef COCCI #define CONTROL_EVENT_STATUS_BODY(event, sev) \ int r; \ do { \ @@ -1671,6 +1672,7 @@ control_event_status(int type, int severity, const char *format, va_list args) r = control_event_status((event), (sev), format, ap); \ va_end(ap); \ } while (0) +#endif /** Format and send an EVENT_STATUS_GENERAL event whose main text is obtained * by formatting the arguments using the printf-style <b>format</b>. */ |