Make "register_tap_listener()" return NULL on success and a "GString *"
authorGuy Harris <guy@alum.mit.edu>
Wed, 23 Apr 2003 08:20:06 +0000 (08:20 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 23 Apr 2003 08:20:06 +0000 (08:20 -0000)
commit1b872b3648180aa042e36dd5b3ff38a03fa131e3
tree04f0fba9423fc1a57c5f559ee0a5fc49138ddb6e
parent81ebec370d30901623ef24b2112e91f8004c6ad0
Make "register_tap_listener()" return NULL on success and a "GString *"
referring to a GString containing an error message on failure, and don't
have it print anything on failure.

If it fails, have its Tethereal-tap callers print an error message
before exiting, and have its Ethereal callers pop up a dialog box with
the error (except in cases where the failure is guaranteed not to be the
user's fault, and where we exit, in which case we just print an error
message before we exit).  In all cases, the error message includes the
text of the GString.

Fix a scanf format string in the DCE RPC statistics Ethereal tap, so
that it properly skips the comma before the filter string.

Fix some Ethereal error messages not to say "tethereal".

svn path=/trunk/; revision=7542
20 files changed:
gtk/dcerpc_stat.c
gtk/io_stat.c
gtk/main.c
gtk/mgcp_stat.c
gtk/rpc_progs.c
gtk/rpc_stat.c
gtk/smb_stat.c
gtk/tap_rtp.c
packet-smb-sidsnooping.c
tap-dcerpcstat.c
tap-iostat.c
tap-iousers.c
tap-mgcpstat.c
tap-protocolinfo.c
tap-protohierstat.c
tap-rpcprogs.c
tap-rpcstat.c
tap-smbstat.c
tap.c
tap.h