Expiry issue

Dave Williams dave at clues.com
Sun Jan 26 18:32:13 UTC 2003


The Doctor <doctor at doctor.nl2k.ab.ca> wrote:
> 
> > B0rken inndcomm.c - presumeably you're using the snapshots rather than =
> cvsuping?
> >
> 
> I am still getting this.

Hence the comment about the snapshots - since they appear to have
a history of lagging behind the cvs tree on occasion. Here's the
patch Russ mailed me - a cvsup would get you the same thing though.

--- inndcomm.c  2003/01/19 19:50:59     1.23
+++ inndcomm.c  2003/01/23 19:12:36     1.24
@@ -1,4 +1,4 @@
-/*  $Id: inndcomm.c,v 1.23 2003/01/19 19:50:59 rra Exp $
+/*  $Id: inndcomm.c,v 1.24 2003/01/23 19:12:36 rra Exp $
 **
 **  Library routines to let other programs control innd.
 */
@@ -239,7 +239,7 @@ ICCcommand(char cmd, const char *argv[],
        *replyp = NULL;
 
     buff += HEADER_SIZE;       /* Advance to leave space for length +
-                                   protocol version info. */
+    bufsiz -= HEADER_SIZE;         protocol version info. */
 
     /* Format the message. */
     snprintf(buff, bufsiz, "%s%c%c", ICCsockname, SC_SEP, cmd);
@@ -247,6 +247,7 @@ ICCcommand(char cmd, const char *argv[],
        *p++ = SC_SEP;
         *p = '\0';
         strlcat(buff, q, bufsiz);
+        p += strlen(q);
     }
 
     /* Send message. */

 

-- 
Dave Williams
dave at clues.com


More information about the inn-workers mailing list