diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-24 02:01:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-24 02:01:44 +0000 |
commit | d8d91ff347dd4a68e4d4f7ed07a5f22e34d2ac51 (patch) | |
tree | 9f1df1252f3f0f7e743e8f48351a48353511c82a /gtk | |
parent | 4377e456d43269d2e229caba8cb4e3741d20316e (diff) |
As with "cf_open_error_message()"/"file_open_error_message()", so with
"cf_write_error_message()"/"file_write_error_message()".
Use "file_open_error_message()" instead of "cf_open_error_message()" in
some places we missed in the previous checkin.
Catch ENOSPC and EDQUOT in "file_open_error_message()".
Use "file_open_error_message()" rather than "file_write_error_message()"
to report errors when creating the file to which we're saving the
"Follow TCP Stream" data.
svn path=/trunk/; revision=9823
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/follow_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c index ef7103d97e..0737a771ee 100644 --- a/gtk/follow_dlg.c +++ b/gtk/follow_dlg.c @@ -1,6 +1,6 @@ /* follow_dlg.c * - * $Id: follow_dlg.c,v 1.34 2004/01/10 16:27:41 ulfl Exp $ + * $Id: follow_dlg.c,v 1.35 2004/01/24 02:01:44 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -919,7 +919,7 @@ follow_save_as_ok_cb(GtkWidget * w _U_, GtkFileSelection * fs) fh = fopen(to_name, "wb"); if (fh == NULL) { simple_dialog(ESD_TYPE_WARN, NULL, - file_write_error_message(errno), to_name); + file_open_error_message(errno, TRUE), to_name); g_free(to_name); return; } |