From d9dd3db805c94ca49e4ac4732677bfe4fa80942b Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 9 Sep 2002 21:16:13 +0000 Subject: [PATCH] Added missing article number to response for commands: ARTICLE, HEAD, BODY, and STAT. --- exec/nntpservice.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exec/nntpservice.js b/exec/nntpservice.js index 3efc93362c..58b4e3a262 100644 --- a/exec/nntpservice.js +++ b/exec/nntpservice.js @@ -360,16 +360,16 @@ while(client.socket.is_connected) { switch(cmd[0].toUpperCase()) { case "ARTICLE": - writeln(format("220 %s article retrieved - head and body follow",hdr.id)); + writeln(format("220 %d %s article retrieved - head and body follow",current_article,hdr.id)); break; case "HEAD": - writeln(format("221 %s article retrieved - header follows",hdr.id)); + writeln(format("221 %d %s article retrieved - header follows",current_article,hdr.id)); break; case "BODY": - writeln(format("222 %s article retrieved - body follows",hdr.id)); + writeln(format("222 %d %s article retrieved - body follows",current_article,hdr.id)); break; case "STAT": - writeln(format("223 %s article retrieved",hdr.id)); + writeln(format("223 %d %s article retrieved",current_article,hdr.id)); break; } if(cmd[0].toUpperCase()=="STAT") -- GitLab