summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-01-29 10:42:27 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-01-29 10:42:27 +0100
commitd069c6ebbb4bc56d90a502d0125c97b797f241af (patch)
tree4354b9dca3d66319e90aea76d114e5fdd5e56c66 /netsniff-ng.c
parent0ae726d91125f6f5552a0eb6707c2e57ffd7cbe2 (diff)
netsniff-ng: Remove duplicate '=' in assignment
Remove a duplicate '=' introduced by me when amending commit 0ae726d ("netsniff-ng: Use time of SIGHUP time when rotating files prematurely"). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.c')
-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);