aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index f735cb00..498b3398 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -257,7 +257,12 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
return;
}
free(rn);
- goto streamwrite;
+
+ if ( iargs->stream_nonhits ) {
+ goto streamwrite;
+ } else {
+ goto out;
+ }
}
/* Index the pattern */
@@ -323,6 +328,7 @@ streamwrite:
get_event_string(image.event));
}
+out:
/* Count crystals which are still good */
time_accounts_set(taccs, TACC_TOTALS);
sb_shared->pings[cookie]++;