aboutsummaryrefslogtreecommitdiff
path: root/src/target/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/smp.h')
-rw-r--r--src/target/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/smp.h b/src/target/smp.h
index f024b40..3338240 100644
--- a/src/target/smp.h
+++ b/src/target/smp.h
@@ -22,7 +22,7 @@
#include "server/server.h"
#define foreach_smp_target(pos, head) \
- for (pos = head; (pos != NULL); pos = pos->next)
+ for (pos = head; (pos); pos = pos->next)
extern const struct command_registration smp_command_handlers[];