patch: innd.c
Heath Kehoe
heath.kehoe at intermec.com
Mon Sep 4 18:51:39 UTC 2000
Move OVopen() after the fork() in innd.c
Index: innd/innd.c
===================================================================
RCS file: /home/heath/inn/repository/inn/innd/innd.c,v
retrieving revision 1.62.2.2
diff -u -r1.62.2.2 innd.c
--- innd/innd.c 2000/06/30 15:15:23 1.62.2.2
+++ innd/innd.c 2000/09/01 21:01:31
@@ -735,13 +735,6 @@
val = TRUE;
- if (innconf->enableoverview) {
- if (!OVopen(OV_WRITE)) {
- syslog(L_FATAL, "%s cant open overview method", LogName);
- exit(1);
- }
- }
-
/* Get the Path entry. */
if (innconf->pathhost == NULL) {
syslog(L_FATAL, "%s No pathhost set", LogName);
@@ -836,6 +829,13 @@
xchown(ERRLOG);
if (BufferedLogs && (ErrlogBuffer = NEW(char, LogBufferSize)) != NULL)
SETBUFFER(Errlog, ErrlogBuffer, LogBufferSize);
+ }
+
+ if (innconf->enableoverview) {
+ if (!OVopen(OV_WRITE)) {
+ syslog(L_FATAL, "%s cant open overview method", LogName);
+ exit(1);
+ }
}
/* Set number of open channels. */
More information about the inn-patches
mailing list