about summary refs log tree commit diff stats
path: root/src/LYDownload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYDownload.c')
-rw-r--r--src/LYDownload.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LYDownload.c b/src/LYDownload.c
index fcaba027..afd6638e 100644
--- a/src/LYDownload.c
+++ b/src/LYDownload.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYDownload.c,v 1.71 2018/12/27 23:48:37 Kamil.Dudka Exp $ */
+/* $LynxId: LYDownload.c,v 1.72 2021/07/29 20:30:00 tom Exp $ */
 #include <HTUtils.h>
 #include <HTParse.h>
 #include <HTList.h>
@@ -63,7 +63,7 @@ void LYDownload(char *line)
     /*
      * Parse out the File, sug_file, and the Method.
      */
-    if ((file = strstr(Line, "/File=")) == NULL)
+    if ((file = LYstrstr(Line, "/File=")) == NULL)
 	goto failed;
     *file = '\0';
     /*
@@ -71,7 +71,7 @@ void LYDownload(char *line)
      */
     file += 6;
 
-    if ((sug_file = strstr(file + 1, "/SugFile=")) != NULL) {
+    if ((sug_file = LYstrstr(file + 1, "/SugFile=")) != NULL) {
 	*sug_file = '\0';
 	/*
 	 * Go past "SugFile=".
@@ -113,7 +113,7 @@ void LYDownload(char *line)
 #endif /* _WINDOWS */
 #endif /* DIRED_SUPPORT */
 
-    if ((method = strstr(Line, "Method=")) == NULL)
+    if ((method = LYstrstr(Line, "Method=")) == NULL)
 	goto failed;
     /*
      * Go past "Method=".