about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-07-25 00:16:38 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2022-07-25 00:16:38 +0000
commita6450adbbd8476f8df51dfe13818268b88d615b5 (patch)
tree23273f9d7519473f166585bde4419cba9932b53e /WWW/Library/Implementation
parentd2764ae26ad47ef9ed2201112d3e62c999b1cde7 (diff)
downloadlynx-snapshots-a6450adbbd8476f8df51dfe13818268b88d615b5.tar.gz
snapshot of project "lynx", label v2-9-0dev_10j
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTFile.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index 33d10ff7..457bedc1 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTFile.c,v 1.156 2022/04/01 00:17:51 tom Exp $
+ * $LynxId: HTFile.c,v 1.157 2022/07/24 09:47:02 tom Exp $
  *
  *			File Access				HTFile.c
  *			===========
@@ -173,15 +173,7 @@ static HTSuffix unknown_suffix =
 static void free_suffixes(void);
 #endif
 
-static char *FindSearch(const char *filename)
-{
-    char *result = 0;
-
-    if ((result = strchr(filename, '?')) == 0) {
-	result = strstr(filename, "%3F");
-    }
-    return result;
-}
+#define FindSearch(filename) strchr(filename, '?')
 
 #ifdef LONG_LIST
 static char *FormatStr(char **bufp,
/pre>
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56