chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
99c850b
)
Track @dstr_vputf@ interface change.
author
mdw
<mdw>
Sun, 13 Jan 2002 13:34:32 +0000
(13:34 +0000)
committer
mdw
<mdw>
Sun, 13 Jan 2002 13:34:32 +0000
(13:34 +0000)
trace.c
patch
|
blob
|
blame
|
history
diff --git
a/trace.c
b/trace.c
index 749b4ab75fe8678a7b7181c8fc0d546d2cf6b44e..b1ba32f8d8eb4b4db422c6ce4c10db1c8cecf2ca 100644
(file)
--- a/
trace.c
+++ b/
trace.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: trace.c,v 1.
6 2001/02/03 16:23:55
mdw Exp $
+ * $Id: trace.c,v 1.
7 2002/01/13 13:34:32
mdw Exp $
*
* Tracing functions for debugging
*
*
* Tracing functions for debugging
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: trace.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: trace.c,v $
+ * Revision 1.7 2002/01/13 13:34:32 mdw
+ * Track @dstr_vputf@ interface change.
+ *
* Revision 1.6 2001/02/03 16:23:55 mdw
* New custom trace output interface.
*
* Revision 1.6 2001/02/03 16:23:55 mdw
* New custom trace output interface.
*
@@
-111,7
+114,7
@@
void trace(unsigned l, const char *f, ...)
if ((l & tracing()) == 0)
return;
va_start(ap, f);
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);
va_end(ap);
tracefunc(d.buf, d.len, tracearg);
dstr_destroy(&d);