Have the ring buffer routines take a pointer to a "bytes written" count
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 29 Apr 2006 17:54:46 +0000 (17:54 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 29 Apr 2006 17:54:46 +0000 (17:54 +0000)
commitbbb710e852fb756dec575dd540d71cf5f4adecee
treedcbe91c747f03f35df391a14e4fdf728623dbffe
parent1b9559fa522589a2bdfc69daaaa0f77ad834ec10
Have the ring buffer routines take a pointer to a "bytes written" count
as an argument, rather than keeping the count to themselves, so the
count kept by the capturing program can be updated correctly - including
getting reset when files are switched.  Fixes bug 895.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18032 f5534014-38df-0310-8fa8-9805f1628bb7
capture_loop.c
ringbuffer.c
ringbuffer.h
tethereal.c