]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
removed bug, mt
authorhades <hades>
Mon, 23 Apr 2001 13:34:41 +0000 (13:34 +0000)
committerhades <hades>
Mon, 23 Apr 2001 13:34:41 +0000 (13:34 +0000)
hadaq/hwtip.c

index f8182fc627560e013703c3b9b80c3a641ef5b0f2..dd764f9b20bc69062d9f98287106767920a3ea7e 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtip.c,v 1.17 2001-04-23 13:26:13 hades Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtip.c,v 1.18 2001-04-23 13:34:41 hades Exp $";
 
 #include <assert.h>
 #include <string.h>
@@ -206,7 +206,7 @@ int HwTip_readSubEvt(HwTip * my, void *subEvt)
        size = LVme_getL(my->lvme, my->currAddr);
        if (size > 0x40000) {
          msglog(LOG_ERR, "found size: %.8x , address: %.8x, too long, fatal! \n", size, my->currAddr);
-         exit();
+         exit(-1);
        }
        /* copy one sub evt from RC to memory */
        firstAddr = my->currAddr;