From a6cae02936e260c49a259a5c0f46b17bbfa39f37 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Fri, 29 Jun 2012 10:57:06 +0200 Subject: [PATCH] autogroup case insensitive --- group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group.c b/group.c index 11a8fb4..2e3d1b6 100644 --- a/group.c +++ b/group.c @@ -483,9 +483,9 @@ group_autogroup(struct client_ctx *cc) XFree(grpno); } else { TAILQ_FOREACH(aw, &Conf.autogroupq, entry) { - if (strcmp(aw->class, cc->app_class) == 0 && + if (strcasecmp(aw->class, cc->app_class) == 0 && (aw->name == NULL || - strcmp(aw->name, cc->app_name) == 0)) { + strcasecmp(aw->name, cc->app_name) == 0)) { no = aw->num; break; }