diff reloadarticle.php @ 13:cccd73f72bf6 draft

Added filtering support and several bugfixes
author Ivo Smits <Ivo@UCIS.nl>
date Thu, 10 Jul 2014 22:26:45 +0200
parents 005339a1b2ce
children
line wrap: on
line diff
--- a/reloadarticle.php	Wed Jun 12 22:22:07 2013 +0200
+++ b/reloadarticle.php	Thu Jul 10 22:26:45 2014 +0200
@@ -45,6 +45,9 @@
 strtok(" \t"); //article number
 $lines = nntp_readlines($socket);
 nntp_article_store($lines);
+nntp_writeline($socket, 'QUIT');
+nntp_readline($socket);
+fclose($socket);
 
 function writelog($line) {
 	print($line."\n");