openbsd-ports/www/hiawatha/patches/patch-serverconfig_c
ajacoutot 934ecc0abc - bugfix update update to hiawatha-6.6
- add XSLT support
2008-04-29 08:47:43 +00:00

24 lines
823 B
Plaintext

$OpenBSD: patch-serverconfig_c,v 1.10 2008/04/29 08:47:43 ajacoutot Exp $
--- serverconfig.c.orig Sat Apr 19 21:46:07 2008
+++ serverconfig.c Tue Apr 29 10:10:38 2008
@@ -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
#define MAX_UPLOAD_SIZE 100
@@ -222,8 +222,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;
init_groups(&(config->groups));
#ifdef HAVE_SSL