Compilation fix on my Linux box

Kiyokazu SUTO suto at ks-and-ks.ne.jp
Sat May 6 18:01:55 UTC 2000


Dear INN developpers,

I have attached 2 patches.  The 1st one is compilation fix on my Linux
box (kernel 2.2.14 and libc 5.4.46).  The 2nd one makes my life a
little bit easier.

With best regards,
-- 
SUTO, Kiyokazu <suto at ks-and-ks.ne.jp>
http://pub.ks-and-ks.ne.jp/pgp-public-key.html



-- Attached file included as plaintext by Listar --

--- /usr/src/inn-BETA-20000505/lib/dbz.c-dist	Sun May  7 02:27:03 2000
+++ lib/dbz.c	Sun May  7 02:31:03 2000
@@ -70,6 +70,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>



-- Attached file included as plaintext by Listar --

--- /usr/src/inn-BETA-20000505/innd/art.c-dist	Fri May  5 19:06:56 2000
+++ innd/art.c	Sun May  7 02:41:50 2000
@@ -2002,7 +2002,7 @@
     hash = HashMessageID(Data.MessageID);
     Data.Hash = &hash;
     if (HIShavearticle(hash)) {
-	sprintf(buff, "%d Duplicate", NNTP_REJECTIT_VAL);
+	sprintf(buff, "%d Duplicate", NNTP_ERR_GOTID_VAL);
 	ARTlog(&Data, ART_REJECT, buff);
 	ARTreject(REJECT_DUPLICATE, cp, buff, article);
 	return buff;




More information about the inn-bugs mailing list