diff options
Diffstat (limited to 'mergecap.c')
-rw-r--r-- | mergecap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mergecap.c b/mergecap.c index 5dae9a14f3..7d2d696868 100644 --- a/mergecap.c +++ b/mergecap.c @@ -452,7 +452,7 @@ main(int argc, char *argv[]) } /* open the outfile */ - if (strncmp(out_filename, "-", 2) == 0) { + if (strcmp(out_filename, "-") == 0) { /* use stdout as the outfile */ use_stdout = TRUE; out_fd = 1 /*stdout*/; |