diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-01 19:01:03 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-05-01 19:01:03 -0400 |
| commit | 55676888049df78935e5aa9ddd0aa31fa0898e99 (patch) | |
| tree | a1cdb072fd93c6f725d630d8fbefc458798cf6e8 /src/cli/stasis | |
| parent | 19e6c3c4d2c71cabec79705088581faa1e6352b7 (diff) | |
| download | stasis-bughunt-1002.tar.gz | |
explicitly check if option name is NULLbughunt-1002
Diffstat (limited to 'src/cli/stasis')
| -rw-r--r-- | src/cli/stasis/args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/stasis/args.c b/src/cli/stasis/args.c index e1c49fe..eb096bc 100644 --- a/src/cli/stasis/args.c +++ b/src/cli/stasis/args.c @@ -59,7 +59,7 @@ static int get_option_max_width(struct option option[]) { int i = 0; int max = 0; const int indent = 4; - while (option[i].name != 0) { + while (option[i].name != NULL) { int len = (int) strlen(option[i].name); if (option[i].has_arg) { len += indent; |
