Mod spoolnews.php to accept reply from FMS when xover command is not correct.

This commit is contained in:
Retro_Guy 2023-06-23 15:21:40 -07:00
parent b0bac6f428
commit 27114f5b90
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -185,7 +185,7 @@ function get_articles($ns, $group) {
$article = $detail[2];
}
// Broken message on last run? Let's try again.
if($article > ($detail[3] + 1)) {
if($article > ($detail[3])) {
$article = $detail[3];
}
# Prepare databases
@ -213,6 +213,7 @@ function get_articles($ns, $group) {
$response=line_read($ns); // and once more
if ((substr($response,0,3) != "224")) {
file_put_contents($logfile, "\n".format_log_date()." ".$config_name." Cannot get overview from ".$CONFIG['remote_server']." for ".$group, FILE_APPEND);
return false;
}
while(trim($response = line_read($ns)) !== '.') {
$ov = preg_split("/\t/", $response);