mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
Allow mixed case configuration commands in finit.conf
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
6f6ab6bc33
commit
63722a20ac
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
|
|
||||||
#define MATCH_CMD(l, c, x) \
|
#define MATCH_CMD(l, c, x) \
|
||||||
(!strncmp(l, c, strlen(c)) && (x = (l) + strlen(c)))
|
(!strncasecmp(l, c, strlen(c)) && (x = (l) + strlen(c)))
|
||||||
|
|
||||||
static char *strip_line(char *line)
|
static char *strip_line(char *line)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user