about summary refs log tree commit diff stats
path: root/src/LYTraversal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYTraversal.c')
-rw-r--r--src/LYTraversal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYTraversal.c b/src/LYTraversal.c
index 04c18154..6af29e1c 100644
--- a/src/LYTraversal.c
+++ b/src/LYTraversal.c
@@ -37,7 +37,7 @@ PUBLIC BOOLEAN lookup ARGS1(char *,target)
     char *line = NULL;
     int result = FALSE;
 
-    if ((ifp = fopen(TRAVERSE_FILE,"r")) == NULL) {
+    if ((ifp = fopen(TRAVERSE_FILE, TXT_R)) == NULL) {
 	if ((ifp = LYNewTxtFile(TRAVERSE_FILE)) == NULL) {
 	    exit_with_perror(CANNOT_OPEN_TRAV_FILE);
 	} else {
@@ -144,7 +144,7 @@ PUBLIC BOOLEAN lookup_reject ARGS1(char *,target)
     int len;
     int result = FALSE;
 
-    if ((ifp = fopen(TRAVERSE_REJECT_FILE,"r")) == NULL){
+    if ((ifp = fopen(TRAVERSE_REJECT_FILE, TXT_R)) == NULL){
 	return(FALSE);
     }