openbsd-ports/www/hiawatha/patches/patch-serverconfig_c
ajacoutot 25dfed2b46 - update to hiawatha-5.10
note that throttle configuration has been merged into httpd.conf ;
small bug fixes and improvements
2007-07-06 12:09:12 +00:00

24 lines
808 B
Plaintext

$OpenBSD: patch-serverconfig_c,v 1.5 2007/07/06 12:09:12 ajacoutot Exp $
--- serverconfig.c.orig Thu Jul 5 15:52:37 2007
+++ serverconfig.c Fri Jul 6 13:46:45 2007
@@ -16,7 +16,7 @@
#include "libstr.h"
#include "libfs.h"
-#define ID_NOBODY 65534
+#define ID_HIAWATHA 579
#define MAX_LENGTH_CONFIGLINE 512
#define MAX_CACHE_SIZE 50
@@ -190,8 +190,8 @@ t_config *default_config(void) {
#endif
config->server_root = NULL;
- config->server_uid = (uid_t)ID_NOBODY;
- config->server_gid = (gid_t)ID_NOBODY;
+ config->server_uid = (uid_t)ID_HIAWATHA;
+ config->server_gid = (gid_t)ID_HIAWATHA;
config->server_string = "Hiawatha v"VERSION;
config->groups.number = 0;
config->groups.array = NULL;