summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netsniff-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 6bdee2f..8d22151 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -784,7 +784,7 @@ static int next_multi_pcap_file(struct ctx *ctx, int fd)
ftime = (time_t)(start_time + sighup_time);
sighup_time = 0;
} else
- ftime = = time(NULL);
+ ftime = time(NULL);
slprintf(fname, sizeof(fname), "%s/%s%lu.pcap", ctx->device_out,
ctx->prefix ? : "dump-", ftime);