From f6647eb9f40a6a3d6dc3c1374d583e176a735498 Mon Sep 17 00:00:00 2001 From: Alice Chu <alice.chu@sta.samsung.com> Date: Tue, 30 Oct 2012 16:27:00 -0700 Subject: [PATCH] Change 0 to NULL Byte Change-Id: I16b47f8dbf64e8dffb550b5a89321f920604ef7a --- check_seapp/check_seapp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_seapp/check_seapp.c b/check_seapp/check_seapp.c index eab4c3553..dea2e5fd6 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); -- GitLab