More carefully check for end of message in spoolnews.php, avoiding lines that are not just a dot.lf

This commit is contained in:
Retro_Guy 2024-09-19 03:35:43 -07:00
parent 54b27904b8
commit 43a61d7acd
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ function get_articles($ns, $group)
file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " Cannot get overview from " . $CONFIG['remote_server'] . " for " . $group . " (requested: xover " . $article . "-" . $getlast . " received " . $response . ")", FILE_APPEND);
return false;
}
while (trim($response = line_read($ns)) !== '.') {
while (rtrim($response = line_read($ns)) !== '.') {
$ov = preg_split("/\t/", $response);
$overview_msgid[$ov[0]] = $ov[4];
}