INN commit: trunk/contrib (Makefile respool.c)

INN Commit rra at isc.org
Sun Sep 21 12:29:55 UTC 2014


    Date: Sunday, September 21, 2014 @ 05:29:55
  Author: iulius
Revision: 9705

Fix build of contrib/respool.c

Remove an unused variable.

Add a link to libhistory.

Modified:
  trunk/contrib/Makefile
  trunk/contrib/respool.c

-----------+
 Makefile  |    2 +-
 respool.c |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

Modified: Makefile
===================================================================
--- Makefile	2014-09-21 12:24:38 UTC (rev 9704)
+++ Makefile	2014-09-21 12:29:55 UTC (rev 9705)
@@ -34,7 +34,7 @@
 LINK 		= $(LIBLD) $(LDFLAGS) -o $@
 FIX		= $(FIXSCRIPT)
 
-STORELIBS	= $(LIBSTORAGE) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
+STORELIBS	= $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
 
 auth_pass:	auth_pass.o	; $(LINK) auth_pass.o $(LIBINN) $(CRYPT_LIBS)
 expirectl:	expirectl.o	; $(LINK) expirectl.o

Modified: respool.c
===================================================================
--- respool.c	2014-09-21 12:24:38 UTC (rev 9704)
+++ respool.c	2014-09-21 12:29:55 UTC (rev 9705)
@@ -29,7 +29,6 @@
     ARTHANDLE newart;
     TOKEN token, newtoken;
     char *arttmp;
-    time_t arrived;
 
     tokenptr = line;
     
@@ -47,7 +46,6 @@
     if ((art = SMretrieve(token, RETR_ALL)) == NULL) return;
 
     len = art->len;
-    arrived = art->arrived;
     arttmp = xmalloc(len);
     memcpy(arttmp, art->data, len);
     SMfreearticle(art);



More information about the inn-committers mailing list