diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-13 16:04:29 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-08-13 16:04:29 +0000 |
commit | 20f1ee3e13655a1b8a061b9e7139ca795e622bc4 (patch) | |
tree | 435a9a788b51b9372dca0cee48fa617e8bf26a48 /usr.sbin/httpd/httpd.h | |
parent | dc120c12c1ae13b5ed48b37cd9e830b08f574763 (diff) |
Provide a failsafe version of the path_info() function that doesn't
need a temporary path variable. Based on an initial diff from
chrisz@.
"Commit any failsafe version and I'm ok with it" chrisz@
Diffstat (limited to 'usr.sbin/httpd/httpd.h')
-rw-r--r-- | usr.sbin/httpd/httpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h index 1a8042840c0..371dd1caac0 100644 --- a/usr.sbin/httpd/httpd.h +++ b/usr.sbin/httpd/httpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.h,v 1.52 2014/08/08 18:29:42 reyk Exp $ */ +/* $OpenBSD: httpd.h,v 1.53 2014/08/13 16:04:28 reyk Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -537,7 +537,7 @@ void event_again(struct event *, int, short, struct timeval *, struct timeval *, void *); const char *canonicalize_host(const char *, char *, size_t); const char *canonicalize_path(const char *, char *, size_t); -ssize_t path_info(char *); +size_t path_info(char *); void imsg_event_add(struct imsgev *); int imsg_compose_event(struct imsgev *, u_int16_t, u_int32_t, pid_t, int, void *, u_int16_t); |