Add routines vfprintf_stderr() and fprintf_stderr() to print to the
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 08:40:02 +0000 (08:40 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 08:40:02 +0000 (08:40 +0000)
commitb0a89981ad61c0db1f3e14a0815ff7f3a97c0339
tree8d6e002c3ba1b61b00021232f4dea1037808f024
parent201c0874833f535f70bc6a1e6ee4f0e47c3dd729
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).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32711 f5534014-38df-0310-8fa8-9805f1628bb7
Makefile.common
capture_opts.c
console_io.h [new file with mode: 0644]
dumpcap.c
gtk/main.c
tshark.c