Commit 13539961 authored by Max Kellermann's avatar Max Kellermann

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

parent a26f2ef1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment