openbsd-ports/net/ngircd/patches/patch-src_ngircd_conf_c
fgsch 09959a815f Update to ngircd 20.1.
merdely@ benoit@ ok.
2013-01-19 20:40:56 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-src_ngircd_conf_c,v 1.2 2013/01/19 20:40:57 fgsch Exp $
--- src/ngircd/conf.c.orig Tue Jan 1 18:22:12 2013
+++ src/ngircd/conf.c Fri Jan 18 01:31:56 2013
@@ -705,7 +705,7 @@ Set_Defaults(bool InitServers)
strlcat(Conf_MotdFile, MOTD_FILE, sizeof(Conf_MotdFile));
strcpy(Conf_ServerPwd, "");
strlcpy(Conf_PidFile, PID_FILE, sizeof(Conf_PidFile));
- Conf_UID = Conf_GID = 0;
+ Conf_UID = Conf_GID = 703; /* _ngircd */
/* Limits */
Conf_ConnectRetry = 60;