INN commit: trunk (21 files)

INN Commit Russ_Allbery at isc.org
Thu Aug 2 14:21:59 UTC 2007


    Date: Thursday, August 2, 2007 @ 07:21:58
  Author: iulius
Revision: 7625

Remove all occurrences of the control character FORM FEED (Ctrl-L).

Modified:
  trunk/backends/innxmit.c
  trunk/backends/nntpget.c
  trunk/contrib/auth_pass.c
  trunk/doc/GPL
  trunk/doc/history
  trunk/expire/expire.c
  trunk/frontends/ctlinnd.c
  trunk/frontends/inews.c
  trunk/frontends/rnews.c
  trunk/innd/art.c
  trunk/innd/cc.c
  trunk/innd/icd.c
  trunk/innd/innd.c
  trunk/innd/innd.h
  trunk/innd/nc.c
  trunk/innd/ng.c
  trunk/innfeed/connection.c
  trunk/innfeed/host.c
  trunk/nnrpd/post.c
  trunk/scripts/inncheck.in
  trunk/storage/timecaf/README.CAF

----------------------------+
 backends/innxmit.c         |    4 -
 backends/nntpget.c         |    2 
 contrib/auth_pass.c        |    2 
 doc/GPL                    |   10 +-
 doc/history                |    8 +-
 expire/expire.c            |    4 -
 frontends/ctlinnd.c        |    2 
 frontends/inews.c          |   10 +-
 frontends/rnews.c          |    8 +-
 innd/art.c                 |    2 
 innd/cc.c                  |    4 -
 innd/icd.c                 |    2 
 innd/innd.c                |    2 
 innd/innd.h                |    4 -
 innd/nc.c                  |    4 -
 innd/ng.c                  |    2 
 innfeed/connection.c       |  156 +++++++++++++++++++++----------------------
 innfeed/host.c             |   64 ++++++++---------
 nnrpd/post.c               |    6 -
 scripts/inncheck.in        |    6 -
 storage/timecaf/README.CAF |    2 
 21 files changed, 152 insertions(+), 152 deletions(-)

Modified: backends/innxmit.c
===================================================================
--- backends/innxmit.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ backends/innxmit.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -658,8 +658,8 @@
     /* Article sent, or we requeued it. */
     return true;
 }
-
 
+
 /*
 **  Get the Message-ID header from an open article.
 */
@@ -689,8 +689,8 @@
     buff[q - p] = '\0';
     return buff;
 }
-
 
+
 /*
 **  Mark that we got interrupted.
 */

Modified: backends/nntpget.c
===================================================================
--- backends/nntpget.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ backends/nntpget.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -50,8 +50,8 @@
 static unsigned long	STATrejected;
 static struct history	*History;
 
-
 
+
 /*
 **  Read a line of input, with timeout.
 */

Modified: contrib/auth_pass.c
===================================================================
--- contrib/auth_pass.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ contrib/auth_pass.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -39,7 +39,7 @@
 #include <netdb.h>
 #include <pwd.h>
 
-
+
 main(int argc, char** argv)
 /*+
  * Abstract:

Modified: doc/GPL
===================================================================
--- doc/GPL	2007-08-02 13:54:17 UTC (rev 7624)
+++ doc/GPL	2007-08-02 14:21:58 UTC (rev 7625)
@@ -62,7 +62,7 @@
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-
+
 		    GNU GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
@@ -117,7 +117,7 @@
     License.  (Exception: if the Program itself is interactive but
     does not normally print such an announcement, your work based on
     the Program is not required to print an announcement.)
-
+
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Program,
 and can be reasonably considered independent and separate works in
@@ -175,7 +175,7 @@
 access to copy the source code from the same place counts as
 distribution of the source code, even though third parties are not
 compelled to copy the source along with the object code.
-
+
   4. You may not copy, modify, sublicense, or distribute the Program
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense or distribute the Program is
@@ -232,7 +232,7 @@
 
 This section is intended to make thoroughly clear what is believed to
 be a consequence of the rest of this License.
-
+
   8. If the distribution and/or use of the Program is restricted in
 certain countries either by patents or by copyrighted interfaces, the
 original copyright holder who places the Program under this License
@@ -285,7 +285,7 @@
 POSSIBILITY OF SUCH DAMAGES.
 
 		     END OF TERMS AND CONDITIONS
-
+
 	    How to Apply These Terms to Your New Programs
 
   If you develop a new program, and you want it to be of the greatest

Modified: doc/history
===================================================================
--- doc/history	2007-08-02 13:54:17 UTC (rev 7624)
+++ doc/history	2007-08-02 14:21:58 UTC (rev 7625)
@@ -13,7 +13,7 @@
 fill out.
 
 The fourth is a copy of the release notice.
-
+
 From: Rich Salz <rsalz at bbn.com>
 Date: Sat, 8 Dec 90 15:23:20 EST
 Message-Id: <9012082023.AA13441 at litchi.bbn.com>
@@ -55,7 +55,7 @@
 
 Any feedback?
 	/r$
-
+
 Path: papaya.bbn.com!rsalz
 From: rsalz at bbn.com (Rich Salz)
 Newsgroups: news.software.nntp,news.admin,comp.org.usenix
@@ -139,7 +139,7 @@
 -- 
 Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
 Use a domain-based address or give alternate paths, or you may lose out.
-
+
 Thanks for your interest in InterNetNews.  I want to run a fairly
 tightly-controlled beta test of the software before I make it generally
 available.  This means that I'm going to screen the sites which will be
@@ -176,7 +176,7 @@
 Do you understand that by participating in the beta-test you agree not to
 redistribute the software outside of your administrative domain, and that
 you promise to upgrade to the official release in a timely manner?
-
+
 From: Rich Salz <rsalz at uunet.uu.net>
 Message-Id: <inn-announce at uunet.uu.net>
 Newsgroups: news.software.b,news.protocols.nntp

Modified: expire/expire.c
===================================================================
--- expire/expire.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ expire/expire.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -60,8 +60,8 @@
 
 enum KR {Keep, Remove};
 
-
 
+
 /*
 **  Open a file or give up.
 */
@@ -422,8 +422,8 @@
     return r;
 }
 
-
 
+
 /*
 **  Clean up link with the server and exit.
 */

Modified: frontends/ctlinnd.c
===================================================================
--- frontends/ctlinnd.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ frontends/ctlinnd.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -111,8 +111,8 @@
 	1,	SC_XEXEC,	false	}
 };
 
-
 
+
 /*
 **  Print a help summary.
 */

Modified: frontends/inews.c
===================================================================
--- frontends/inews.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ frontends/inews.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -110,8 +110,8 @@
 
 #define HDR(_x)	(Table[(_x)].Value)
 
-
 
+
 /*
 **  Send the server a quit message, wait for a reply.
 */
@@ -277,8 +277,8 @@
     return p + 1;
 }
 
-
 
+
 /*
 **  See if the user is allowed to cancel the indicated message.  Assumes
 **  that the Sender or From line has already been filled in.
@@ -414,8 +414,8 @@
     *p = save;
 }
 
-
 
+
 /*
 **  Parse the GECOS field to get the user's full name.  This comes Sendmail's
 **  buildfname routine.  Ignore leading stuff like "23-" "stuff]-" or
@@ -748,8 +748,8 @@
         die("more included text than new text");
 }
 
-
 
+
 /*
 **  Read stdin into a string and return it.  Can't use ReadInDescriptor
 **  since that will fail if stdin is a tty.
@@ -781,8 +781,8 @@
     return article;
 }
 
-
 
+
 /*
 **  Offer the article to the server, return its reply.
 */

Modified: frontends/rnews.c
===================================================================
--- frontends/rnews.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ frontends/rnews.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -58,8 +58,8 @@
 #define IS_MESGID(hp)	((hp) == &RequiredHeaders[_messageid])
 #define IS_PATH(hp)	((hp) == &RequiredHeaders[_path])
 
-
 
+
 /*
 **  Open up a pipe to a process with fd tied to its stdin.  Return a
 **  descriptor tied to its stdout or -1 on error.
@@ -137,8 +137,8 @@
 }
 
 
-
 
+
 /*
 **  Clean up the NNTP escapes from a line.
 */
@@ -449,8 +449,8 @@
     return Process(article, artsize);
 }
 
-
 
+
 /*
 **  Read a single text line; not unlike fgets().  Just more inefficient.
 */
@@ -692,8 +692,8 @@
     message_handlers_warn(1, message_log_syslog_err);
 }
 
-
 
+
 /*
 **  Can't connect to the server, so spool our input.  There isn't much
 **  we can do if this routine fails, unfortunately.  Perhaps try to use

Modified: innd/art.c
===================================================================
--- innd/art.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/art.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -89,7 +89,7 @@
 static void ARTparsebody(CHANNEL *cp);
 
 
-
+
 /*
 **  Trim '\r' from buffer.
 */

Modified: innd/cc.c
===================================================================
--- innd/cc.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/cc.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -125,8 +125,8 @@
 };
 
 static RETSIGTYPE CCresetup(int unused);
-
 
+
 void
 CCcopyargv(char *av[])
 {
@@ -1697,8 +1697,8 @@
     return NULL;
 }
 
-
 
+
 /*
 **  Split up the text into fields and stuff them in argv.  Return the
 **  number of elements or -1 on error.

Modified: innd/icd.c
===================================================================
--- innd/icd.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/icd.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -432,8 +432,8 @@
     return ret;
 }
 
-
 
+
 /*
 **  Open the active file and "map" it into memory.
 */

Modified: innd/innd.c
===================================================================
--- innd/innd.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/innd.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -144,8 +144,8 @@
 /* #define HDR__X_ORIGINAL_MESSAGE_ID		38 */
 };
 /* #define MAX_ARTHEADER			39 */
-
 
+
 /*
 **  Signal handler to catch SIGTERM and similar signals and queue a clean
 **  shutdown.

Modified: innd/innd.h
===================================================================
--- innd/innd.h	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/innd.h	2007-08-02 14:21:58 UTC (rev 7625)
@@ -513,8 +513,8 @@
     TMR_MAX
 };
 
-
 
+
 /*
 **  In-line macros for efficiency.
 **
@@ -531,8 +531,8 @@
     if (--ErrorCount <= 0 || (e) == ENOSPC) \
       ThrottleIOError(WHEN);                \
   } while (0)
-
 
+
 /*
 **  Global data.
 **

Modified: innd/nc.c
===================================================================
--- innd/nc.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/nc.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -264,8 +264,8 @@
     }
 }
 
-
 
+
 /*
 **  The "head" command.
 */
@@ -717,8 +717,8 @@
     NCwritereply(cp, buff);
 }
 
-
 
+
 /*
 **  Check whatever data is available on the channel.  If we got the
 **  full amount (i.e., the command or the whole article) process it.

Modified: innd/ng.c
===================================================================
--- innd/ng.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innd/ng.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -44,8 +44,8 @@
 static int		NGHbuckets;
 static int		NGHcount;
 
-
 
+
 /*
 **  Sorting predicate for qsort call in NGparsefile.  Put newsgroups in
 **  rough order of their activity.  Will be better if we write a "counts"

Modified: innfeed/connection.c
===================================================================
--- innfeed/connection.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innfeed/connection.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -374,7 +374,7 @@
 
 
 
-
+
 /*
  * Create a new Connection object and return it. All fields are
  * initialized to reasonable values.
@@ -462,7 +462,7 @@
 
 
 
-
+
 /* Create a new endpoint hooked to a non-blocking socket that is trying to
  * connect to the host info stored in the Connection. On fast machines
  * connecting locally the connect() may have already succeeded when this
@@ -571,7 +571,7 @@
 
 
 
-
+
 /* Put the Connection into the wait state.
  *
  * Pre-state		Reason cxnWait called
@@ -605,7 +605,7 @@
 
 
 
-
+
 /* Tells the Connection to flush itself (i.e. push out all articles,
  * issue a QUIT and drop the network connection. If necessary a
  * reconnect will be done immediately after. Called by the Host, or
@@ -676,7 +676,7 @@
 }
 
 
-
+
 /*
  * Tells the Connection to dump all articles that are queued and to issue a
  * QUIT as quickly as possible. Much like cxnClose, except queued articles
@@ -749,7 +749,7 @@
 }
 
 
-
+
 /* Tells the Connection to do a disconnect and then when it is
  * disconnected to delete itself.
  *
@@ -826,7 +826,7 @@
 
 
 
-
+
 /* This is what the Host calls to get us to tranfer an article. If
  * we're running the IHAVE sequence, then we can't take it if we've
  * got an article already. If we're running the CHECK/TAKETHIS
@@ -882,7 +882,7 @@
 
 
 
-
+
 /* if there's room in the Connection then stick the article on the
  * queue, otherwise return false.
  */
@@ -967,7 +967,7 @@
 
 
 
-
+
 /*
  * generate a log message for activity. Usually called by the Connection's
  * owner
@@ -1017,7 +1017,7 @@
 
 
 
-
+
 /*
  * return the number of articles the connection will accept.
  */
@@ -1039,7 +1039,7 @@
 
 
 
-
+
 /*
  * Print info on all the connections that currently exist.
  */
@@ -1063,7 +1063,7 @@
 
 
 
-
+
 /*
  * Print the info about the given connection.
  */
@@ -1158,7 +1158,7 @@
 
 
 
-
+
 /*
  * return the number of articles the connection will accept.
  */
@@ -1179,7 +1179,7 @@
 
 
 
-
+
 /**********************************************************************/
 /**                       STATIC PRIVATE FUNCTIONS                   **/
 /**********************************************************************/
@@ -1192,7 +1192,7 @@
  * EndPoint objects/class (either timers or i/o completion callbacks)..
  */
 
-
+
 /*
  * this is the first stage of the NNTP FSM. This function is called
  * when the tcp/ip network connection is setup and we should get
@@ -1271,7 +1271,7 @@
 
 
 
-
+
 /*
  * Called when the banner message has been read off the wire and is
  * in the buffer(s). When this function returns the state of the
@@ -1378,7 +1378,7 @@
 
 
 
-
+
 static void issueAuthUser (EndPoint e, Connection cxn)
 {
   Buffer authUserBuffer;
@@ -1421,7 +1421,7 @@
 
 
 
-
+
 static void issueAuthPass (EndPoint e, Connection cxn)
 {
   Buffer authPassBuffer;
@@ -1464,7 +1464,7 @@
 
 
 
-
+
 static void issueModeStream (EndPoint e, Connection cxn)
 {
   Buffer *modeCmdBuffers,*readBuffers ;
@@ -1509,7 +1509,7 @@
 
 
 
-
+
 /*
  *
  */
@@ -1600,7 +1600,7 @@
 
 
 
-
+
 /*
  *
  */
@@ -1690,7 +1690,7 @@
 
 
 
-
+
 /*
  * Process the remote's response to our MODE STREAM command. This is where
  * the Connection moves into the cxnFeedingS state. If the remote has given
@@ -1825,7 +1825,7 @@
 
 
 
-
+
 /*
  * called when a response has been read from the socket. This is
  * where the bulk of the processing starts.
@@ -2155,7 +2155,7 @@
 
 
 
-
+
 /*
  * called when the write of the QUIT command has completed.
  */
@@ -2193,7 +2193,7 @@
 
 
 
-
+
 /*
  * called when the write of the IHAVE-body data is finished
  */
@@ -2240,7 +2240,7 @@
 
 
 
-
+
 /*
  * Called when a command set (IHAVE, CHECK, TAKETHIS) has been
  * written to the remote.
@@ -2299,7 +2299,7 @@
 
 
 
-
+
 /*
  * Called when the MODE STREAM command has been written down the pipe.
  */
@@ -2331,7 +2331,7 @@
 
 
 
-
+
 /*
  * Called when the AUTHINFO USER command has been written down the pipe.
  */
@@ -2364,7 +2364,7 @@
 
 
 
-
+
 /*
  * Called when the AUTHINFO USER command has been written down the pipe.
  */
@@ -2397,7 +2397,7 @@
 
 
 
-
+
 /*
  * Called whenever some amount of data has been written to the pipe but
  * more data remains to be written
@@ -2418,7 +2418,7 @@
 
 
 
-
+
 /*
  * Timers.
  */
@@ -2462,7 +2462,7 @@
 
 
 
-
+
 /*
  * This is called when the data write timeout for the remote
  * goes off. We tear down the connection and notify our host.
@@ -2502,7 +2502,7 @@
 
 
 
-
+
 /*
  * Called by the EndPoint class when the timer goes off
  */
@@ -2528,7 +2528,7 @@
 
 
 
-
+
 /*
  * timeout callback to close down long running connection.
  */
@@ -2563,7 +2563,7 @@
 
 
 
-
+
 /*
  * Timer callback for when the connection has not received an
  * article from INN. When that happens we tear down the network
@@ -2606,7 +2606,7 @@
 
 
 
-
+
 /*
  * function to be called when the fd is not ready for reading, but there is
  * an article on tape or in the queue to be done. Things are done this way
@@ -2651,7 +2651,7 @@
 
 
 
-
+
 /****************************************************************************
  *
  * REPONSE CODE PROCESSING.
@@ -2734,7 +2734,7 @@
 
 
 
-
+
 /*
  * Handle a response code of 238 which is the "no such article"
  * reply to the CHECK command (i.e. remote wants it).
@@ -2798,7 +2798,7 @@
 
 
 
-
+
 /*
  * process the response "try again later" to the CHECK command If this
  * returns true then the connection is still usable.
@@ -2857,7 +2857,7 @@
 
 
 
-
+
 /*
  * process the "already have it" response to the CHECK command.  If this
  * returns true then the connection is still usable.
@@ -2918,7 +2918,7 @@
 
 
 
-
+
 /*
  * process the "article transferred ok" response to the TAKETHIS.
  */
@@ -2977,7 +2977,7 @@
 }
 
 
-
+
 /*
  *  Set the thresholds for no-CHECK mode; negative means leave existing value
  */
@@ -2998,7 +2998,7 @@
   cxn->lowPassFilter = lowPassFilter;
 }
 
-
+
 /*
  *  Blow away the connection gracelessly and immedately clean up
  */
@@ -3009,7 +3009,7 @@
   delConnection(cxn) ;
 }
 
-
+
 /*
  * process a "article rejected do not try again" response to the
  * TAKETHIS.
@@ -3091,7 +3091,7 @@
 
 
 
-
+
 /*
  * process the "article transferred ok" response to the IHAVE-body.
  */
@@ -3151,7 +3151,7 @@
 
 
 
-
+
 /*
  * process the "send article to be transfered" reponse to the IHAVE.
  */
@@ -3197,7 +3197,7 @@
 
 
 
-
+
 /*
  * process the "not accepting articles" response. This could be to any of
  * the IHAVE/CHECK/TAKETHIS command, but not the banner--that's handled
@@ -3251,7 +3251,7 @@
 
 
 
-
+
 /*
  * process the "not wanted" reponse to the IHAVE.
  */
@@ -3319,7 +3319,7 @@
 
 
 
-
+
 /*
  * process the "transfer failed" response to the IHAVE-body, (seems this
  * can come from the IHAVE too).
@@ -3375,7 +3375,7 @@
 
 
 
-
+
 /*
  * Process the "article rejected do not try again" response to the
  * IHAVE-body.
@@ -3463,7 +3463,7 @@
 
 
 
-
+
 /*
  * Handle the response 503, which means the timeout of nnrpd.
  */
@@ -3512,7 +3512,7 @@
 
 
 
-
+
 /****************************************************************************
  *
  * END REPONSE CODE PROCESSING.
@@ -3522,7 +3522,7 @@
 
 
 
-
+
 /*
  * puts the Connection into the sleep state.
  */
@@ -3592,7 +3592,7 @@
 
 
 
-
+
 /*
  * Called when a response from the remote refers to a non-existant
  * message-id. The network connection is aborted and the Connection
@@ -3621,7 +3621,7 @@
 
 
 
-
+
 /*
  * a processing error has occured (for example in parsing a response), or
  * we're at the end of the FSM and we're cleaning up.
@@ -3698,7 +3698,7 @@
 
 
 
-
+
 /*
  * (re)set all state variables to inital condition.
  */
@@ -3729,7 +3729,7 @@
 }
 
 
-
+
 /*
  * Give back all articles that are queued, but not actually in progress.
  * XXX merge come of this with deferAllArticles
@@ -3758,7 +3758,7 @@
 }
 
 
-
+
 /*
  * Give back any articles we have to the Host for later retrys.
  */
@@ -3808,7 +3808,7 @@
 
 
 
-
+
 /*
  * Called when there's an article to be pushed out to the remote. Even if
  * the Connection has an article it's possible that nothing will be written
@@ -3857,7 +3857,7 @@
 
 
 
-
+
 /* Queue up a buffer with the IHAVE command in it for the article at
  * the head of the transmisson queue.
  *
@@ -3930,7 +3930,7 @@
 
 
 
-
+
 /*
  * Do a prepare write with the article body as the body portion of the
  * IHAVE command
@@ -3994,7 +3994,7 @@
 
 
 
-
+
 /* Process the two command queues. Slaps all the CHECKs together and
  * then does the TAKETHIS commands.
  *
@@ -4079,7 +4079,7 @@
 
 
 
-
+
 /*
  * build up the buffer of all the CHECK commands.
  */
@@ -4144,7 +4144,7 @@
 
 
 
-
+
 /*
  * Construct and array of TAKETHIS commands and the command bodies. Any
  * articles on the queue that are missing will be removed and the Host will
@@ -4271,7 +4271,7 @@
 
 
 
-
+
 /*
  * for one reason or another we need to disconnect gracefully. We send a
  * QUIT command.
@@ -4323,7 +4323,7 @@
 
 
 
-
+
 /*
  * Set up the timer for the blocked reads
  */
@@ -4342,7 +4342,7 @@
 
 
 
-
+
 /*
  * Set up the timer for the blocked reads
  */
@@ -4371,7 +4371,7 @@
 
 
 
-
+
 /*
  * Does the actual deletion of a connection and all its private data.
  */
@@ -4450,7 +4450,7 @@
 
 
 
-
+
 /*
  * Bump up the value of the low pass filter on the connection.
  */
@@ -4463,7 +4463,7 @@
 
 
 
-
+
 /*
  * decrement the value of the low pass filter on the connection.
  */
@@ -4475,7 +4475,7 @@
 
 
 
-
+
 /*
  * return true if we have articles we need to issue commands for.
  */
@@ -4487,7 +4487,7 @@
 
 
 
-
+
 /*
  * do some simple tests to make sure it's OK.
  */
@@ -4619,7 +4619,7 @@
 
 
 
-
+
 /*
  * Generate a printable string of the parameter.
  */
@@ -4680,7 +4680,7 @@
 
 
 
-
+
 /****************************************************************************
  *
  * Functions for managing the internal queue of Articles on each Connection.
@@ -4700,7 +4700,7 @@
 
 
 
-
+
 /*
  * Deletes the article holder
  */
@@ -4713,7 +4713,7 @@
 
 
 
-
+
 /*
  * remove the article holder from the queue. Adjust the count and if nxtPtr
  * points at the element then adjust that too.
@@ -4749,7 +4749,7 @@
 
 
 
-
+
 /*
  * append the ArticleHolder to the queue
  */
@@ -4775,7 +4775,7 @@
 
 
 
-
+
 /*
  * find the article holder on the queue by comparing the message-id.
  */

Modified: innfeed/host.c
===================================================================
--- innfeed/host.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ innfeed/host.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -1458,7 +1458,7 @@
 
 
 
-
+
 /* close down all the connections of the Host. All articles that are in
  * processes are still pushed out and then a QUIT is issued. The Host will
  * also spool all inprocess articles to tape incase the process is about to
@@ -1496,7 +1496,7 @@
       cxnTerminate (host->connections [i]) ;
 }
 
-
+
 /*
  * check if host should get more connections opened, or some closed...
  */
@@ -1637,7 +1637,7 @@
   host->ChkCxnsId = prepareSleep(hostChkCxns, host->nextCxnTimeChk, host);
 }
 
-
+
 /*
  * have the Host transmit the Article if possible.
  */
@@ -1761,7 +1761,7 @@
 
 
 
-
+
 /*
  * called by the Host's connection when the remote is refusing postings
  * from us becasue we're not allowed (banner code 400).
@@ -1807,7 +1807,7 @@
 
 
 
-
+
 /*
  * Called by the Connection when it gets a response back to the MODE
  * STREAM command. It's now that we consider the connection usable.
@@ -1878,7 +1878,7 @@
 
 
 
-
+
 /*
  * Called by the connection when it is no longer connected to the
  * remote. Perhaps due to getting a code 400 to an IHAVE, or due to a
@@ -1922,7 +1922,7 @@
 
 
 
-
+
 /*
  * Called by the Connection when it is going to sleep so the Host won't
  * bother trying to give it Articles
@@ -1956,7 +1956,7 @@
 
 
 
-
+
 /*
  * Called by the Connection when it goes into the waiting state.
  */
@@ -1986,7 +1986,7 @@
 
 
 
-
+
 /*
  * Called by the Connection when it is about to delete itself.
  */
@@ -2066,7 +2066,7 @@
 
 
 
-
+
 /*
  * The connections has offered an article to the remote.
  */
@@ -2082,7 +2082,7 @@
 
 
 
-
+
 /*
  * Article was succesfully transferred.
  */
@@ -2115,7 +2115,7 @@
 
 
 
-
+
 /*
  * remote said no thanks to an article.
  */
@@ -2145,7 +2145,7 @@
 
 
 
-
+
 /*
  * remote rejected the article after it was was transferred
  */
@@ -2177,7 +2177,7 @@
 
 
 
-
+
 /*
  * The remote wants us to retry the article later.
  */
@@ -2220,7 +2220,7 @@
 
 
 
-
+
 /*
  * The Connection is giving the article back to the Host, but it doesn't
  * want a new one in return.
@@ -2250,7 +2250,7 @@
 
 
 
-
+
 /*
  * The disk file for the article is no longer valid
  */
@@ -2279,7 +2279,7 @@
 
 
 
-
+
 /* The Connection wants something to do. This is called by the Connection
  * after it has transferred an article. This is what keeps the pipes full
  * of data off the tapes if the input from inn is idle.
@@ -2378,7 +2378,7 @@
 
 
 
-
+
 /*
  * get the name that INN uses for this host
  */
@@ -2428,7 +2428,7 @@
 
 
 
-
+
 /**********************************************************************/
 /**                       CLASS FUNCTIONS                            **/
 /**********************************************************************/
@@ -2530,7 +2530,7 @@
 #define INHERIT	1
 #define NO_INHERIT 0
 
-
+
 static HostParams hostDetails (scope *s,
 			       char *name,
 			       bool isDefault,
@@ -2776,7 +2776,7 @@
 }
 
 
-
+
 static Host findHostByName (char *name) 
 {
   Host h;
@@ -2789,7 +2789,7 @@
 }
 
 
-
+
 /* 
  * the article can be dropped from the process queue and the connection can
  * take a new article if there are any to be had.
@@ -2810,7 +2810,7 @@
 
 
 
-
+
 /*
  * One of the Connections for this Host has reestablished itself, so stop
  * spooling article info to disk.
@@ -2830,7 +2830,7 @@
 
 
 
-
+
 /*
  * No connections are active and we're getting response 201 or 400 (or some
  * such) so that we need to start spooling article info to disk.
@@ -2868,7 +2868,7 @@
 
 
 
-
+
 /*
  * Time to log the statistics for the Host. If FINAL is true then the
  * counters will be reset.
@@ -2970,8 +2970,8 @@
 
 
 
-
 
+
 static double
 convsize(double size, char **tsize)
 {
@@ -3379,7 +3379,7 @@
 
 
 
-
+
 /*
  * The callback function for the statistics timer to call.
  */
@@ -3466,7 +3466,7 @@
 
 
 
-
+
 /*
  * Returns true of the Host is in the middle of closing down.
  */
@@ -3480,7 +3480,7 @@
 
 
 
-
+
 /*
  * flush all queued articles all the way out to disk.
  */
@@ -3537,7 +3537,7 @@
 
 
 
-
+
 #define QUEUE_ELEM_POOL_SIZE ((4096 - 2 * (sizeof (void *))) / (sizeof (struct proc_q_elem)))
 
 static ProcQElem queueElemPool ;
@@ -3582,7 +3582,7 @@
 
 
 
-
+
 /*
  * remove the article from the queue
  */
@@ -3623,7 +3623,7 @@
 
 
 
-
+
 /*
  * remove the article that's at the head of the queue and return
  * it. Returns NULL if the queue is empty.

Modified: nnrpd/post.c
===================================================================
--- nnrpd/post.c	2007-08-02 13:54:17 UTC (rev 7624)
+++ nnrpd/post.c	2007-08-02 14:21:58 UTC (rev 7625)
@@ -66,8 +66,8 @@
 
 HEADER *EndOfTable = ARRAY_END(Table);
 
-
 
+
 /* Join() and MaxLength() are taken from innd.c */
 /*
 **  Turn any \r or \n in text into spaces.  Used to splice back multi-line
@@ -217,8 +217,8 @@
     return p + 1;
 }
 
-
 
+
 /*
 **  Check the control message, and see if it's legit.  Return pointer to
 **  error message if not.
@@ -559,8 +559,8 @@
     return NULL;
 }
 
-
 
+
 /*
 **  Try to mail an article to the moderator of the group.
 */

Modified: scripts/inncheck.in
===================================================================
--- scripts/inncheck.in	2007-08-02 13:54:17 UTC (rev 7624)
+++ scripts/inncheck.in	2007-08-02 14:21:58 UTC (rev 7625)
@@ -96,7 +96,7 @@
     }
     $i;
 }
-
+
 ##
 ##  These are the functions that verify each individual file, called
 ##  from the main code.  Each function gets <IN> as the open file, $line
@@ -642,8 +642,8 @@
 {
     1;
 }
-
 
+
 ##
 ##  Routines to check permissions
 ##
@@ -798,7 +798,7 @@
     1;
 }
 
-
+
 ##
 ##  Parsing, main routine.
 ##

Modified: storage/timecaf/README.CAF
===================================================================
--- storage/timecaf/README.CAF	2007-08-02 13:54:17 UTC (rev 7624)
+++ storage/timecaf/README.CAF	2007-08-02 14:21:58 UTC (rev 7625)
@@ -58,7 +58,7 @@
 			Richard Todd
 	(rmtodd at mailhost.ecn.ou.edu/rmtodd at servalan.servalan.com)
 
-
+
 Implementation details (format of a CAF file) and some design rationale:
 
  Look at include/caf.h for the details, but basically, the layout is



More information about the inn-committers mailing list