Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2015 01:04:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383615 - in head/security/bruteblock: . files
Message-ID:  <201504090104.t3914tSC053719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Apr  9 01:04:54 2015
New Revision: 383615
URL: https://svnweb.freebsd.org/changeset/ports/383615

Log:
  - Fix printing time_t on i386
  
  PR:		199263
  Submitted by:	fesse@mail.ru

Modified:
  head/security/bruteblock/Makefile
  head/security/bruteblock/files/patch-bruteblock.c

Modified: head/security/bruteblock/Makefile
==============================================================================
--- head/security/bruteblock/Makefile	Wed Apr  8 22:52:29 2015	(r383614)
+++ head/security/bruteblock/Makefile	Thu Apr  9 01:04:54 2015	(r383615)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bruteblock
 PORTVERSION=	0.0.5
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	security
 MASTER_SITES=	http://samm.kiev.ua/bruteblock/ \
 		http://mirror.amdmi3.ru/distfiles/

Modified: head/security/bruteblock/files/patch-bruteblock.c
==============================================================================
--- head/security/bruteblock/files/patch-bruteblock.c	Wed Apr  8 22:52:29 2015	(r383614)
+++ head/security/bruteblock/files/patch-bruteblock.c	Thu Apr  9 01:04:54 2015	(r383615)
@@ -5,7 +5,8 @@
  				argv[1] = table;
  				argv[2] = command;
 -				snprintf(utime, sizeof(utime), "%d",
+-				time(NULL) + reset_ip);
 +				snprintf(utime, sizeof(utime), "%lld",
- 				time(NULL) + reset_ip);
++				(long long)(time(NULL) + reset_ip));
  				argv[4] = utime;
  				argv[3] = host;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504090104.t3914tSC053719>