Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Aug 20, 2024
1 parent 29d5ece commit 476e039
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/m3u8download.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,11 @@ static int m3u8download_pollqueue(
}

if (running) {
code = curl_multi_poll(curl_multi, NULL, 0, 0, NULL);
code = curl_multi_poll(curl_multi, NULL, 0, 1000, NULL);

if (code != CURLM_OK) {
code = curl_multi_poll(curl_multi, NULL, 0, 1000, NULL);
}
}

if (code != CURLM_OK) {
Expand Down

0 comments on commit 476e039

Please sign in to comment.