diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-22 01:08:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-22 01:08:36 +0100 |
commit | ec5a7857127a1b3b9c5517c4a70a9b2c8aab35ca (patch) | |
tree | 61e3af8c533d3d676c5f3db26c33486b4ae92adc /src/pulsecore/ratelimit.h | |
parent | eb966f745511944ba976c17e56d60b384c59d757 (diff) |
ratelimit: fix log levels of log suppression messages
When logging a suppression message do so on the same log level as the
suppressed messages.
Diffstat (limited to 'src/pulsecore/ratelimit.h')
-rw-r--r-- | src/pulsecore/ratelimit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/ratelimit.h b/src/pulsecore/ratelimit.h index 9857a291..9a36195d 100644 --- a/src/pulsecore/ratelimit.h +++ b/src/pulsecore/ratelimit.h @@ -23,6 +23,7 @@ ***/ #include <pulse/sample.h> +#include <pulsecore/log.h> #include <pulsecore/macro.h> typedef struct pa_ratelimit { @@ -51,6 +52,6 @@ typedef struct pa_ratelimit { r->begin = 0; \ } while (FALSE); -pa_bool_t pa_ratelimit_test(pa_ratelimit *r); +pa_bool_t pa_ratelimit_test(pa_ratelimit *r, pa_log_level_t t); #endif |