From: Guus Sliepen Date: Sun, 24 Mar 2002 17:14:01 +0000 (+0000) Subject: Configuration variables were still handled case sensitively. X-Git-Tag: release-1.0pre6~16 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=2749b997df33749f13d05e294db0e1e327e81d12;p=tinc Configuration variables were still handled case sensitively. --- diff --git a/src/conf.c b/src/conf.c index 3bf9b85f..b39f4b65 100644 --- a/src/conf.c +++ b/src/conf.c @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.c,v 1.9.4.53 2002/02/18 16:25:16 guus Exp $ + $Id: conf.c,v 1.9.4.54 2002/03/24 17:14:01 guus Exp $ */ #include "config.h" @@ -127,7 +127,7 @@ cp if(!found) return NULL; - if(strcmp(found->variable, variable)) + if(strcasecmp(found->variable, variable)) return NULL; return found; @@ -145,7 +145,7 @@ cp if(node->next) { found = (config_t *)node->next->data; - if(!strcmp(found->variable, cfg->variable)) + if(!strcasecmp(found->variable, cfg->variable)) return found; } }