X-Git-Url: http://git.refcnt.org/?a=blobdiff_plain;f=colorize.c;h=3e9755af4fd5667bccf26caa8622660906ecd749;hb=8637d58c4c7cdaa7018d1ab81c78958b1dc1e215;hp=cfc9159cac4242436a684c3b865ae0d9004d8cba;hpb=2132b9543b9b82bb5cea8f54fa41feeaed2c7ba0;p=colorize.git diff --git a/colorize.c b/colorize.c index cfc9159..3e9755a 100644 --- a/colorize.c +++ b/colorize.c @@ -118,9 +118,9 @@ #define DEBUG_FILE "debug.txt" -#define MAX_ATTRIBUTE_CHARS (5 * 2) +#define MAX_ATTRIBUTE_CHARS (6 * 2) -#define VERSION "0.61" +#define VERSION "0.62" typedef enum { false, true } bool; @@ -474,6 +474,7 @@ process_opt_attr (const char *p) strncpy (attr_invalid, s, p - s); attr_invalid[p - s] = '\0'; vfprintf_fail ("--attr switch attribute '%s' is not valid", attr_invalid); + RELEASE_VAR (attr_invalid); /* never reached */ } } if (*p)