INN commit: trunk/tests/innd (fakeinnd.c)
INN Commit
rra at isc.org
Tue Jul 12 12:58:00 UTC 2011
Date: Tuesday, July 12, 2011 @ 05:58:00
Author: iulius
Revision: 9242
homogeneize the CleanupAndExit() function of fakeinnd with the real one
Modified:
trunk/tests/innd/fakeinnd.c
------------+
fakeinnd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: fakeinnd.c
===================================================================
--- fakeinnd.c 2011-07-12 09:57:44 UTC (rev 9241)
+++ fakeinnd.c 2011-07-12 12:58:00 UTC (rev 9242)
@@ -8,6 +8,7 @@
#define DEFINE_DATA 1
#include "../../innd/innd.h"
+#include "clibrary.h"
/* Global variables defined in innd.c. */
bool Debug = false;
@@ -110,6 +111,6 @@
};
/* Dummy functions that innd.c provides. */
-void CleanupAndExit(int status UNUSED, const char *why UNUSED) { }
+void CleanupAndExit(int status, const char *why UNUSED) { exit(status); }
void JustCleanup(void) { }
void ReopenLog(FILE *F UNUSED) { }
More information about the inn-committers
mailing list