From 72d0b5b30149fa5c64f608744e170e6be070a4a9 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Sat, 8 Mar 2003 11:33:17 +0000 Subject: [PATCH] . Use reasm instead of checking for a NULL reassembly element (safer) --- trunk/darkhttpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/darkhttpd.c b/trunk/darkhttpd.c index ee64a51..c7ff6e2 100644 --- a/trunk/darkhttpd.c +++ b/trunk/darkhttpd.c @@ -254,13 +254,13 @@ static char *make_safe_uri(const char *uri) out = (char*) xmalloc(urilen+1); out[0] = '\0'; - for (i=0; reassembly[i] != NULL; i++) + for (i=0; i `%s'\n", uri, out); return out; }