]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libventi/debug.c
upas/Mail: avoid showing empty To: and CC: lines in compose windows
[plan9front.git] / sys / src / libventi / debug.c
1 #include <u.h>
2 #include <libc.h>
3 #include <venti.h>
4
5 void
6 vtdebug(VtConn *z, char *fmt, ...)
7 {
8         va_list arg;
9
10         if(z->debug == 0)
11                 return;
12
13         va_start(arg, fmt);
14         vfprint(2, fmt, arg);
15         va_end(arg);
16 }
17