diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-01 13:44:07 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-01 22:08:59 +0000 |
commit | be55c4f976249815a797875eefa655d035d1f628 (patch) | |
tree | b2c4e758359fc0e88a5baebf7d8ab0d0f1f5a256 /ui/cli | |
parent | e12270a730a60636ad36c06957b7e1f687c562a7 (diff) |
Always report errors in eo_save_entry().
If a particular save failed, always let the user know.
Change-Id: I618e0ff82813cd4249ab7b1714f9a50e095a1ea8
Reviewed-on: https://code.wireshark.org/review/31296
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/cli')
-rw-r--r-- | ui/cli/tap-exportobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-exportobject.c b/ui/cli/tap-exportobject.c index 0766da779b..316dd03c70 100644 --- a/ui/cli/tap-exportobject.c +++ b/ui/cli/tap-exportobject.c @@ -140,7 +140,7 @@ eo_draw(void *tapdata) g_string_free(safe_filename, TRUE); } while (g_file_test(save_as_fullpath, G_FILE_TEST_EXISTS) && ++count < 1000); count = 0; - if (!eo_save_entry(save_as_fullpath, entry, TRUE)) + if (!eo_save_entry(save_as_fullpath, entry)) all_saved = FALSE; g_free(save_as_fullpath); save_as_fullpath = NULL; |