]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
BUGFIX -- mm
authorhadaq <hadaq>
Tue, 19 Nov 2002 17:25:40 +0000 (17:25 +0000)
committerhadaq <hadaq>
Tue, 19 Nov 2002 17:25:40 +0000 (17:25 +0000)
hadaq/evtbuild.c

index d08bb18613487c064476ffa7312004aeaf5161cd..186a2f30baf3f4a70515f42fd58d9e8d416fdc26 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.54 2002-11-19 02:02:38 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.55 2002-11-19 17:25:40 hadaq Exp $";
 
 
 #define _POSIX_C_SOURCE 199309L
@@ -551,6 +551,7 @@ int main(int argc, char *argv[])
                        for (i = 0; i < theArgs->slowCtrlFileCnt; i++) {
                                evt = appendFile(evt, theArgs->slowCtrlFiles[i]);
                        }
+                       (*theStats->bytesWritten) += Evt_size(evt);
                        writeFile(evt);
                        deleteEvt(evt);
                }
@@ -637,6 +638,7 @@ int main(int argc, char *argv[])
                        for (i = 0; i < theArgs->slowCtrlFileCnt; i++) {
                                evt = appendFile(evt, theArgs->slowCtrlFiles[i]);
                        }
+                       (*theStats->bytesWritten) += Evt_size(evt);
                        writeFile(evt);
                        deleteEvt(evt);