aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbs.h b/cbs.h
index a390fe4..e87240a 100644
--- a/cbs.h
+++ b/cbs.h
@@ -55,7 +55,7 @@
#define cmdclr(c) \
do { \
(c)->len = 0; \
- (c)->argv = NULL; \
+ *(c)->argv = NULL; \
} while (0)
/* Struct representing a CLI command that various functions act on. You will