aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-05 02:46:54 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-05 02:46:54 +0000
commit99536cc8da7a484a30863880c475f2e3dd09fd38 (patch)
treec370be6d3442a63888d486f241b0cf5dd754a9ac /print.c
parent7186d034f074cb32ad633762db09784ded1dd262 (diff)
Distinguish between "failed" and "user stopped it" for "save as" and
"export specified packets". For "failed", let the user try again with a different file, in case it failed due to, for example, running out of space or quota (probably the most likely failure mode for writing, and trying to a different volume might be the best workaround). For "user stopped it", presumably they don't want to try again (the most likely reason is "it was taking too damn long"). Put "Exporting to: ...", not "Saving: ..." in the statusbar if we're doing "export specified packets". In process_specified_packets(), allow a null range pointer to be specified, meaning "save 'em all"; that avoids the possibly-expensive (with a large capture) operation of initializing the range. If a "safe save" atop an existing file fails or is stopped, get rid of the temporary file we created. svn path=/trunk/; revision=43095
Diffstat (limited to 'print.c')
0 files changed, 0 insertions, 0 deletions