summaryrefslogtreecommitdiff
path: root/package/axtls/patches/patch-httpd_main_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/axtls/patches/patch-httpd_main_c')
-rw-r--r--package/axtls/patches/patch-httpd_main_c21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/axtls/patches/patch-httpd_main_c b/package/axtls/patches/patch-httpd_main_c
deleted file mode 100644
index b4017803e..000000000
--- a/package/axtls/patches/patch-httpd_main_c
+++ /dev/null
@@ -1,21 +0,0 @@
-$Id$
---- axTLS.orig/httpd/main.c 2007-01-31 22:35:53.000000000 +0100
-+++ axTLS/httpd/main.c 2007-02-10 12:15:20.000000000 +0100
-@@ -98,11 +98,12 @@ int main(int argc, char *argv[])
- WSADATA wsaData;
- WSAStartup(wVersionRequested,&wsaData);
- #else
-- if (getuid() == 0) /* change our uid if we are root */
-- {
-- setgid(32767);
-- setuid(32767);
-- }
-+ /* we can't bind to port 80/443 if we are nobody ?! */
-+ //if (getuid() == 0) /* change our uid if we are root */
-+ //{
-+ // setgid(32767);
-+ // setuid(32767);
-+ //}
-
- signal(SIGQUIT, die);
- signal(SIGPIPE, SIG_IGN);