summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-08-30 16:51:10 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-08-30 16:51:10 +0000
commit22bdb8123d8c1687bf8ea31c98bdd0c47833aee7 (patch)
treea7b72ace54c06658cb0b592092e152adfaf51e57 /src
parentc83c92a0d13458856648abd06c41e94810e9fc8a (diff)
Replaced the call to xstrstr() with strstr().
Diffstat (limited to 'src')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index c54da28..a7dcb4a 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.17 2001-08-28 04:32:14 rjkaes Exp $
+/* $Id: reqs.c,v 1.18 2001-08-30 16:51:10 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new thread created for them. The thread then
@@ -326,7 +326,7 @@ static int compare_header(char *line)
char *ptr;
int ret;
- if ((ptr = xstrstr(line, ":", strlen(line), FALSE)) == NULL)
+ if ((ptr = strstr(line, ":")) == NULL)
return -1;
if ((buffer = malloc(ptr - line + 1)) == NULL)