From 6392afb1e169030a846b556afa5eee8fe2d12913 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Sat, 23 May 2009 01:14:06 +0700 Subject: [PATCH 2/2] source3/utils/log2pcaphex.c(main): really use stdout if file cannot be opened. --- source3/utils/log2pcaphex.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/source3/utils/log2pcaphex.c b/source3/utils/log2pcaphex.c index b1a8a27..6596a9b 100644 --- a/source3/utils/log2pcaphex.c +++ b/source3/utils/log2pcaphex.c @@ -337,6 +337,7 @@ int main (int argc, char **argv) if(!out) { perror("fopen"); fprintf(stderr, "Can't find %s, using stdout...\n", outfile); + outfile = NULL; } } -- 1.6.3.1