tfshark: fix compilation.

Note: "compilation", not "operation" - after I got it to compile, it
crashed when I tried to run it on a JPEG file.
This commit is contained in:
Guy Harris 2021-04-28 01:22:41 -07:00
parent 855662f8dc
commit 5af65b3a92
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ main(int argc, char *argv[])
dissectors, and we must do it before we read the preferences, in
case any dissectors register preferences. */
if (!epan_init(NULL, NULL, TRUE)) {
exit_status = INIT_ERROR;
exit_status = INIT_FAILED;
goto clean_exit;
}