aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.c')
-rw-r--r--src/daemon/internal.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/daemon/internal.c b/src/daemon/internal.c
index ef67affc..6f674470 100644
--- a/src/daemon/internal.c
+++ b/src/daemon/internal.c
@@ -32,15 +32,14 @@
32 * fprintf-like helper function for logging debug 32 * fprintf-like helper function for logging debug
33 * messages. 33 * messages.
34 */ 34 */
35void MHD_DLOG(const struct MHD_Daemon * daemon, 35void
36 const char * format, 36MHD_DLOG (const struct MHD_Daemon *daemon, const char *format, ...)
37 ...) { 37{
38 va_list va; 38 va_list va;
39 39
40 if ( (daemon->options & MHD_USE_DEBUG) == 0) 40 if ((daemon->options & MHD_USE_DEBUG) == 0)
41 return; 41 return;
42 va_start(va, format); 42 va_start (va, format);
43 VFPRINTF(stderr, format, va); 43 VFPRINTF (stderr, format, va);
44 va_end(va); 44 va_end (va);
45} 45}
46