/* -*-c-*-
*
- * $Id: trace.c,v 1.6 2001/02/03 16:23:55 mdw Exp $
+ * $Id: trace.c,v 1.8 2004/04/08 01:36:13 mdw Exp $
*
* Tracing functions for debugging
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: trace.c,v $
- * Revision 1.6 2001/02/03 16:23:55 mdw
- * New custom trace output interface.
- *
- * Revision 1.5 1999/10/22 22:39:52 mdw
- * New documented interface for tracing.
- *
- * Revision 1.4 1999/05/19 20:27:11 mdw
- * Change naming to match newer mLib conventions.
- *
- * Revision 1.3 1999/05/06 19:51:35 mdw
- * Reformatted the LGPL notice a little bit.
- *
- * Revision 1.2 1999/05/05 18:50:31 mdw
- * Change licensing conditions to LGPL.
- *
- * Revision 1.1.1.1 1998/06/17 23:44:42 mdw
- * Initial version of mLib
- *
- */
-
/*----- Header files ------------------------------------------------------*/
/* --- ANSI headers --- */
if ((l & tracing()) == 0)
return;
va_start(ap, f);
- dstr_vputf(&d, f, ap);
+ dstr_vputf(&d, f, &ap);
va_end(ap);
tracefunc(d.buf, d.len, tracearg);
dstr_destroy(&d);