diff --git a/check_seapp/check_seapp.c b/check_seapp/check_seapp.c index eab4c3553fe60d5c8ef7e49cfcd507bdb60218bb..dea2e5fd6ee1776ededd9805cca5149b03c894b1 100644 --- a/check_seapp/check_seapp.c +++ b/check_seapp/check_seapp.c @@ -851,11 +851,11 @@ static void parse() { log_info("Got line %d\n", lineno); len = strlen(line_buf); if (line_buf[len - 1] == '\n') - line_buf[len - 1] = 0; + line_buf[len - 1] = '\0'; p = line_buf; while (isspace(*p)) p++; - if (*p == '#' || *p == 0) + if (*p == '#' || *p == '\0') continue; token = strtok_r(p, " \t", &saveptr);