X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdebug.c;h=4152c15ee0f973bc18fb0f34db7a366c244baa32;hb=671a30187f8cdc64c6b0a97eb0c7eb2f33c4247e;hp=b7f8e1f4cee14385ed2a623a182964d4a97b3b5e;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/openbox/debug.c b/openbox/debug.c index b7f8e1f4..4152c15e 100644 --- a/openbox/debug.c +++ b/openbox/debug.c @@ -28,12 +28,13 @@ void ob_debug_show_output(gboolean enable) show = enable; } -void ob_debug(char *a, ...) +void ob_debug(gchar *a, ...) { va_list vl; if (show) { va_start(vl, a); vfprintf(stderr, a, vl); + va_end(vl); } }