From 0493abb482f6a555870495f5eb25600bc5bd53fb Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Mon, 18 Mar 2002 10:52:39 +0000 Subject: xine_log bugfix by bill fink CVS patchset: 1584 CVS date: 2002/03/18 10:52:39 --- src/xine-engine/xine.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/xine.c') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index aa17f4858..4f18d5dac 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.109 2002/03/14 13:57:15 miguelfreitas Exp $ + * $Id: xine.c,v 1.110 2002/03/18 10:52:39 guenter Exp $ * * top-level xine functions * @@ -876,6 +876,9 @@ void xine_log (xine_t *this, int buf, const char *format, ...) { va_start (argp, format); this->log_buffers[buf]->scratch_printf (this->log_buffers[buf], format, argp); + va_end (argp); + + va_start (argp, format); vprintf (format, argp); -- cgit v1.2.3