aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/log_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/support/log_win32.c')
-rw-r--r--src/core/support/log_win32.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/support/log_win32.c b/src/core/support/log_win32.c
index fb2fc0c239..e6567dca7e 100644
--- a/src/core/support/log_win32.c
+++ b/src/core/support/log_win32.c
@@ -40,16 +40,11 @@
#include <stdarg.h>
/* Simple starter implementation */
-void gpr_log(const char *file, int line, gpr_log_severity severity,
- const char *format, ...) {
- va_list args;
- va_start(args, format);
-
+void gpr_vlog(const char *file, int line, gpr_log_severity severity,
+ const char *format, va_list args) {
fprintf(stderr, "%s %s:%d: ", gpr_log_severity_string(severity), file, line);
vfprintf(stderr, format, args);
fputc('\n', stderr);
-
- va_end(args);
}
#endif