output/httpd: explicitly convert size_t to bool in pause()
This commit is contained in:
parent
a26f2ef17d
commit
13539961b2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user