summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-21 23:42:05 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-21 23:42:05 +0200
commit2b2d6ad0541544074fd54c86af6de2e2947e62ce (patch)
tree84dee7bca11631193a86ee62e50916a3adc32ef4 /main.h
parent0ba4f18ea6981b4d2b4eded11b2da4b2a2192d5b (diff)
Move mcast task to a per-server task to get refcounting right
Diffstat (limited to 'main.h')
-rw-r--r--main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.h b/main.h
index 9759ecf..5dff164 100644
--- a/main.h
+++ b/main.h
@@ -88,12 +88,12 @@ void __die(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
#define assert_task_alive_or(lvl, t, cmd) \
do { \
if (!(t)) { \
- error("invalid task\n"); \
+ error("invalid task"); \
cmd; \
} \
\
if ((t)->dead) { \
- debug((lvl), "task dead\n"); \
+ debug((lvl), "task dead"); \
cmd; \
} \
} while(0)