More carefully check for end of message in spoolnews.php, avoiding lines that are not just a dot.lf
This commit is contained in:
parent
54b27904b8
commit
43a61d7acd
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue