From: Michael Jerris Date: Tue, 17 Feb 2015 21:23:53 +0000 (-0500) Subject: FS-7294: Enable -Werror when building with clang compiler X-Git-Tag: v1.4.17~1^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a5e1db1da551693a284e994338d6df616ff1d5;p=thirdparty%2Ffreeswitch.git FS-7294: Enable -Werror when building with clang compiler --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index dbf57c9c15..32fb77111c 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1205,7 +1205,7 @@ struct color_map_el color_map[] = { static const char* match_color(const char *s) { struct color_map_el *map = color_map; - while (map->name) { + while (*map->name) { if (!(strcasecmp(s, map->name))) { return map->seq; }