aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-28 19:20:48 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-28 19:20:48 +0100
commit6c314893a2a1ebf66fcc9ed3cdec0b4cee296e2a (patch)
treed5528c8d0a92ef5d32b43a62f709d814f01b3413
parent914edbb3b6549b30d5c05398626ad49362ca18ab (diff)
Don’t be a dummy
-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