From Graeme Hewson:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Sep 2002 16:17:41 +0000 (16:17 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 22 Sep 2002 16:17:41 +0000 (16:17 +0000)
commit94171ea02e04504408418cacaccf9f35f239b5eb
tree86ee36f6f302af6a27548ff03f0c40ae09d94130
parent14cd82e00828d159af051ed836139d793c23b668
From Graeme Hewson:

  It can sometimes happen that capturing is stopped just after Ethereal
  has switched to a new ring buffer.  The result is that no frames
  are displayed.  The patch to ringbuffer.c displays the previous ring
  buffer if the current buffer is empty on close.

  The patch to capture.c fixes a bug where an error return from
  ringbuf_wtap_dump_close was ignored, and tidies up the code around
  the call.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6315 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c
ringbuffer.c