INN commit: branches/2.5/contrib (Makefile respool.c)
INN Commit
rra at isc.org
Sun Sep 21 12:44:27 UTC 2014
Date: Sunday, September 21, 2014 @ 05:44:27
Author: iulius
Revision: 9711
Fix build of contrib/respool.c
Remove an unused variable.
Add a link to libhistory.
Modified:
branches/2.5/contrib/Makefile
branches/2.5/contrib/respool.c
-----------+
Makefile | 2 +-
respool.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
Modified: Makefile
===================================================================
--- Makefile 2014-09-21 12:43:48 UTC (rev 9710)
+++ Makefile 2014-09-21 12:44:27 UTC (rev 9711)
@@ -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:43:48 UTC (rev 9710)
+++ respool.c 2014-09-21 12:44:27 UTC (rev 9711)
@@ -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