output/httpd: explicitly convert size_t to bool in pause()

This commit is contained in:
Max Kellermann 2011-07-20 19:16:47 +02:00
parent a26f2ef17d
commit 13539961b2

View File

@ -493,7 +493,8 @@ httpd_output_pause(void *data)
if (has_clients) { if (has_clients) {
static const char silence[1020]; 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 { } else {
g_usleep(100000); g_usleep(100000);
return true; return true;