about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2013-11-29 00:52:56 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2013-11-29 00:52:56 -0500
commit9e1419601a5cc9cafbc77b52dcb70d7e01350272 (patch)
tree727a87de2920e0789b591eab4901fdece3924ec8 /src/LYUtils.c
parent422b94378f762167eddba4f1874260f057d184bb (diff)
downloadlynx-snapshots-9e1419601a5cc9cafbc77b52dcb70d7e01350272.tar.gz
snapshot of project "lynx", label v2-8-8dev_17
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index 0a1a9141..cf549e62 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.261 2013/11/28 11:35:34 tom Exp $
+ * $LynxId: LYUtils.c,v 1.262 2013/11/29 00:04:25 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -8009,7 +8009,7 @@ static int is_device(char *fname)
 
     i = 0;
     while (black_list[i] != NULL) {
-	if (stricmp(fname, black_list[i]) == 0) {
+	if (strcasecomp(fname, black_list[i]) == 0) {
 	    return 1;		/* device file */
 	}
 	i++;
@@ -8055,7 +8055,7 @@ int unsafe_filename(const char *fname)
 
     i = 0;
     while (device_list[i] != NULL) {
-	if (stricmp(fname, device_list[i]) == 0) {
+	if (strcasecomp(fname, device_list[i]) == 0) {
 	    return 0;		/* device file (open OK) */
 	}
 	i++;