INN commit: trunk (3 files)

INN Commit rra at isc.org
Thu Dec 24 12:06:26 UTC 2009


    Date: Thursday, December 24, 2009 @ 04:06:25
  Author: iulius
Revision: 8856

Typos.

Modified:
  trunk/innd/nc.c
  trunk/nnrpd/commands.c
  trunk/storage/buffindexed/buffindexed.c

-----------------------------------+
 innd/nc.c                         |    4 ++--
 nnrpd/commands.c                  |    2 +-
 storage/buffindexed/buffindexed.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Modified: innd/nc.c
===================================================================
--- innd/nc.c	2009-12-24 09:15:19 UTC (rev 8855)
+++ innd/nc.c	2009-12-24 12:06:25 UTC (rev 8856)
@@ -1085,7 +1085,7 @@
 	  movedata = false;
 	} else {
 	  cp->Next = bp->used;
-	  /* Move data to the begining anyway. */
+	  /* Move data to the beginning anyway. */
 	  movedata = true;
 	}
 	readmore = true;
@@ -1460,7 +1460,7 @@
 	  (unsigned long) bp->used, cp->XBatchSize);
 
       if (cp->Next != 0) {
-	/* data must start from the begining of the buffer */
+	/* data must start from the beginning of the buffer */
         movedata = true;
 	readmore = false;
 	break;

Modified: nnrpd/commands.c
===================================================================
--- nnrpd/commands.c	2009-12-24 09:15:19 UTC (rev 8855)
+++ nnrpd/commands.c	2009-12-24 12:06:25 UTC (rev 8856)
@@ -635,7 +635,7 @@
       /* Acquire lock (this could be in RateLimit but that would
        * invoke the spaghetti factor). 
        */
-      if ((path = (char *) PostRecFilename(Client.ip,PERMuser)) == NULL) {
+      if ((path = (char *) PostRecFilename(Client.ip, PERMuser)) == NULL) {
         Reply("%d %s\r\n", ihave ? NNTP_FAIL_IHAVE_DEFER : NNTP_FAIL_POST_AUTH,
               ihave ? "Retry later" : "Posting not allowed");
         return;

Modified: storage/buffindexed/buffindexed.c
===================================================================
--- storage/buffindexed/buffindexed.c	2009-12-24 09:15:19 UTC (rev 8855)
+++ storage/buffindexed/buffindexed.c	2009-12-24 12:06:25 UTC (rev 8856)
@@ -768,7 +768,7 @@
 
   table = ((ULONG *) ovbuff->bitfield + (OV_BEFOREBITF / sizeof(long)));
 
-  /* For tighter placement look for unused block from the begining on
+  /* For tighter placement look for unused block from the beginning on
    * every run. */
   for (i = 0 ; i < last ; i++) {
     if ((table[i] ^ ~0) != 0)




More information about the inn-committers mailing list