and remove superflous print.

Yes, I know, look at the diff before committing...
This commit is contained in:
Bernhard Amann 2012-07-26 12:15:06 -07:00
parent 4a959c1a33
commit 8633d91c40

View file

@ -59,7 +59,7 @@ event line(description: Input::EventDescription, tpe: Input::Event, value: Val)
{ {
print outfile, value; print outfile, value;
try = try + 1; try = try + 1;
if ( try == 7 ) if ( try == 1 )
{ {
close(outfile); close(outfile);
terminate(); terminate();
@ -70,8 +70,6 @@ event bro_init()
{ {
try = 0; try = 0;
outfile = open("../out"); outfile = open("../out");
# first read in the old stuff into the table...
Input::add_event([$source="../input.log", $name="ssh", $fields=Val, $ev=line, $want_record=T]); Input::add_event([$source="../input.log", $name="ssh", $fields=Val, $ev=line, $want_record=T]);
Input::remove("ssh"); Input::remove("ssh");
print "Hi";
} }