Add routines vfprintf_stderr() and fprintf_stderr() to print to the
authorGuy Harris <guy@alum.mit.edu>
Fri, 7 May 2010 08:40:02 +0000 (08:40 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 7 May 2010 08:40:02 +0000 (08:40 -0000)
commit13bf4a0c551be51f5c5303f69c1754577ea938a0
tree8d6e002c3ba1b61b00021232f4dea1037808f024
parentcc05b9250d271bf75d814d6880b11a4fc4a0540a
Add routines vfprintf_stderr() and fprintf_stderr() to print to the
standard error and, in Wireshark on Windows, create a console if
necessary.  Have the cmdarg_err routines use them.

Use *fprintf_stderr() to print the output of -L, rather than using
cmdarg_err_cont(), so that we don't get extra newlines in the output (it
should look similar to the output of tcpdump).

svn path=/trunk/; revision=32711
Makefile.common
capture_opts.c
console_io.h [new file with mode: 0644]
dumpcap.c
gtk/main.c
tshark.c