Fix tshark.c to pass checkAPIs script
authorHadriel Kaplan <hadrielk@yahoo.com>
Tue, 1 Apr 2014 02:47:56 +0000 (22:47 -0400)
committerAnders Broman <a.broman58@gmail.com>
Tue, 1 Apr 2014 06:06:00 +0000 (06:06 +0000)
commite7b3eff7216de19efb74f7e8eb0c404c398d05e7
treeddd4ad2e2e3880433350e7673dd6121f81db5ef8
parent97cddf538c6438b1b995e742c3152b50be1d18d3
Fix tshark.c to pass checkAPIs script

Since tshark.c was using strdup, perror, and g_main_quit, changes to
the file won't pass checkAPIs; so this commit replaces those with
the approved functions; except strdup, which was unecessary.

Change-Id: I031aa44594f2b96960a45f48537ab4e9a10d34b1
Reviewed-on: https://code.wireshark.org/review/898
Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
tshark.c