mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Walking through the code - correct some comment typos.
This commit is contained in:
parent
c2ff18a157
commit
4a405e36b1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user