*/
static int debug_level = 2;
static bool stderr_quiet = FALSE;
-static int count = 0;
+static int max_count = 0;
typedef enum collector_op_t collector_op_t;
op = COLLECTOR_OP_CHECK;
continue;
case 'c':
- count = atoi(optarg);
+ max_count = atoi(optarg);
continue;
case 'd':
debug_level = atoi(optarg);
}
else if (match("End-Date", &cmd))
{
- /* Process 'count' events at a time */
- if (count > 0 && eid - last_eid == count)
+ /* Process 'max_count' events at a time */
+ if (max_count > 0 && eid - last_eid == max_count)
{
- fprintf(stderr, "added %d events\n", count);
+ fprintf(stderr, "added %d events\n", max_count);
goto end;
}
}