aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-04-06 10:36:54 +0200
committerRobin Krahl <me@robin-krahl.de>2018-04-06 10:36:54 +0200
commitf406a5d8409062ad296eb696332659a70e87a4f7 (patch)
tree980cf2a22968ae1b43dba392bbf9b0c9e5006250
parentdb57f7051336f79cd5a0c303142823d7d058cee7 (diff)
downloadmidbro-f406a5d8409062ad296eb696332659a70e87a4f7.tar.gz
midbro-f406a5d8409062ad296eb696332659a70e87a4f7.tar.bz2
Abort if the Bro connection died
-rw-r--r--src/broevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/broevent.c b/src/broevent.c
index cdfcec4..e2a7467 100644
--- a/src/broevent.c
+++ b/src/broevent.c
@@ -22,6 +22,7 @@
* SOFTWARE.
*/
+#include <stdlib.h>
#include <unistd.h>
#include "fifoqueue.h"
@@ -109,4 +110,5 @@ bro_event_listener(void * args)
}
bro_conn_delete(bc);
+ abort();
}