The Samba-Bugzilla – Attachment 4186 Details for
Bug 6392
[PATCH] log2pcaphex: uncorrect behavior when we cannot open output file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Really use stdout if file cannot be opened.
0002-source3-utils-log2pcaphex.c-main-really-use-stdout-i.patch (text/plain), 717 bytes, created by
Slava Semushin
on 2009-05-22 13:35:01 UTC
(
hide
)
Description:
Really use stdout if file cannot be opened.
Filename:
MIME Type:
Creator:
Slava Semushin
Created:
2009-05-22 13:35:01 UTC
Size:
717 bytes
patch
obsolete
>From 6392afb1e169030a846b556afa5eee8fe2d12913 Mon Sep 17 00:00:00 2001 >From: Slava Semushin <php-coder@altlinux.ru> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6392
: 4186