From a66b414f9ac43ac362551efada2c0ce8b903f4ce Mon Sep 17 00:00:00 2001
From: hadaq <hadaq>
Date: Wed, 10 Aug 2011 11:55:41 +0000
Subject: [PATCH] Removed again wrong bugfix for subevent sync (nice try...).
 Disabled bailing out when too many subevents are popped in one queue for a
 warning message. Provided default value of 30% to ensure that a reasonable
 critical event discarding condition is used if not specified in command line.

---
 hadaq/evtbuild.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c
index d53079b..77fab6b 100644
--- a/hadaq/evtbuild.c
+++ b/hadaq/evtbuild.c
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.150 2011-08-10 11:45:07 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.151 2011-08-10 11:55:41 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
@@ -294,8 +294,8 @@ int isMismatchCritical(TheArgs *theArgs, TheStats *my)
 	int retVal = 0;
 
 	if (theArgs->maxTrigMismatch == -1) {
-		theArgs->maxTrigMismatch = 0.3;	/* JAM: set reasonable default if not specified */
-		sprintf(msglog, "<I> Critical trigger mismatch ratio takes default of %f", theArgs->maxTrigMismatch);
+		theArgs->maxTrigMismatch = 30;	/* JAM: set reasonable default if not specified */
+		sprintf(msglog, "<I> Critical trigger mismatch ratio takes default of %d % ", theArgs->maxTrigMismatch);
 		storeLogInfo(theArgs, msglog);
 		/*return retVal; */
 	}
-- 
2.43.0