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
1 changed files with 2 additions and 1 deletions

View File

@ -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;