From 4a405e36b144bc017021f3d3ae149468f1b369d5 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Wed, 13 Dec 2006 07:09:10 +0000 Subject: [PATCH] Walking through the code - correct some comment typos. --- trunk/darkhttpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/darkhttpd.c b/trunk/darkhttpd.c index afe8c47..c51bc11 100644 --- a/trunk/darkhttpd.c +++ b/trunk/darkhttpd.c @@ -360,7 +360,7 @@ static int vasprintf(char **strp, const char *fmt, va_list ap) /* --------------------------------------------------------------------------- - * asprintf() that errx()s if it fails. + * vasprintf() that errx()s if it fails. */ static unsigned int xvasprintf(char **ret, const char *format, va_list ap) { @@ -520,8 +520,8 @@ static void consolidate_slashes(char *s) /* --------------------------------------------------------------------------- - * Resolve /./ and /../ in a URI, returing a new, safe URI, or NULL if the URI - * is invalid/unsafe. Returned buffer needs to be deallocated. + * Resolve /./ and /../ in a URI, returning a new, safe URI, or NULL if the + * URI is invalid/unsafe. Returned buffer needs to be deallocated. */ static char *make_safe_uri(char *uri) {