shithub: aubio

Download patch

ref: f5e9e3f2f288bc6fa111cbed755fb8f2303c13ef
parent: 0f214ff4205120f98719d8a124a63770cc39f3ba
author: Paul Brossier <piem@piem.org>
date: Wed Jan 4 11:44:55 EST 2017

src/utils/log.c: also print warnings to stderr

--- a/src/utils/log.c
+++ b/src/utils/log.c
@@ -34,7 +34,7 @@
 {
   FILE *out;
   out = stdout;
-  if (level == AUBIO_LOG_DBG || level == AUBIO_LOG_ERR) {
+  if (level == AUBIO_LOG_ERR || level == AUBIO_LOG_DBG || level == AUBIO_LOG_WRN) {
     out = stderr;
   }
   fprintf(out, "%s", message);