Ethereal-dev: Re: [Ethereal-dev] GUI: Asking user for unsaved files before when closing...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sat, 31 Jan 2004 08:17:32 +0100
Guy Harris wrote:

On Fri, Jan 30, 2004 at 12:22:19AM +0100, Ulf Lamping wrote:
Any comments?

We probably shouldn't do that if there are no captured packets to save
(i.e., if "count", in the "capture_file" structure, is 0).
But that was nice for testing the feature ;-)

It might be an even better idea to close the capture file immediately, if the capture session is finished and didn't get
a packet.

With this, the above situation you noticed cannot happen at all.

What do you think?

Regards, ULFL