diff options
author | Max Kellermann <max@duempel.org> | 2011-07-20 19:16:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-20 19:16:47 +0200 |
commit | 13539961b25940ca6d28c28ab7972c244681e3b5 (patch) | |
tree | ac57dd0216e2e04e87bc0d3ab4c5932832ba97ab /src/output | |
parent | a26f2ef17df9a741ba759b31a3d6f5a8f7068b6d (diff) | |
download | mpd-13539961b25940ca6d28c28ab7972c244681e3b5.tar.gz mpd-13539961b25940ca6d28c28ab7972c244681e3b5.tar.xz mpd-13539961b25940ca6d28c28ab7972c244681e3b5.zip |
output/httpd: explicitly convert size_t to bool in pause()
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/httpd_output_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index b82dc0599..0137965a6 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -493,7 +493,8 @@ httpd_output_pause(void *data) if (has_clients) { static const char silence[1020]; - return httpd_output_play(data, silence, sizeof(silence), NULL); + return httpd_output_play(data, silence, sizeof(silence), + NULL) > 0; } else { g_usleep(100000); return true; |