diff options
author | jsorg71 <jsorg71> | 2006-04-23 21:29:05 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-04-23 21:29:05 +0000 |
commit | f9b3faac0e261241058ecb344423e9b5a5fdc86f (patch) | |
tree | 1467fc4f776e013714fc766c15d500a33218f330 | |
parent | eef98128fc36ffb5130efffd6c62417f98b0c702 (diff) | |
download | xrdp-proprietary-f9b3faac0e261241058ecb344423e9b5a5fdc86f.tar.gz xrdp-proprietary-f9b3faac0e261241058ecb344423e9b5a5fdc86f.zip |
use strcasecmp when comparing
-rw-r--r-- | common/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.c b/common/file.c index 0df36840..400af74d 100644 --- a/common/file.c +++ b/common/file.c @@ -203,7 +203,7 @@ file_read_section(int fd, char* section, struct list* names, } else if (c == ']') { - if (g_strncasecmp(section, text, 255) == 0) + if (g_strcasecmp(section, text) == 0) { file_read_line(s, text); while (file_read_line(s, text) == 0) |