Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd fix wrong variable
details: https://anonhg.NetBSD.org/src/rev/23b229269f53
branches: trunk
changeset: 341327:23b229269f53
user: christos <christos%NetBSD.org@localhost>
date: Fri Oct 30 23:45:31 2015 +0000
description:
fix wrong variable
diffstat:
libexec/httpd/bozohttpd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a3a71cd6860e -r 23b229269f53 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Fri Oct 30 23:27:47 2015 +0000
+++ b/libexec/httpd/bozohttpd.c Fri Oct 30 23:45:31 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.c,v 1.69 2015/10/30 23:27:47 christos Exp $ */
+/* $NetBSD: bozohttpd.c,v 1.70 2015/10/30 23:45:31 christos Exp $ */
/* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */
@@ -1944,7 +1944,7 @@
if (user_escaped == NULL)
user_escaped = request->hr_user;
/* expand username to ~user/ */
- asprintf(&user, "~%s/", user);
+ asprintf(&user, "~%s/", user_escaped);
if (user_escaped != request->hr_user)
free(user_escaped);
}
Home |
Main Index |
Thread Index |
Old Index