From 036a436cd6ea4825d910eb9e0dd8b6179c2366c1 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 30 Aug 2003 17:04:34 +0000 Subject: - Update to version 3.0 PR: 56195 Submitted by: Ports Fury --- net/gspoof/files/patch-console.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'net/gspoof/files/patch-console.c') diff --git a/net/gspoof/files/patch-console.c b/net/gspoof/files/patch-console.c index 79b02c981e84..9a185e566b36 100644 --- a/net/gspoof/files/patch-console.c +++ b/net/gspoof/files/patch-console.c @@ -1,23 +1,23 @@ ---- console.c.orig Wed Sep 25 04:20:25 2002 -+++ console.c Wed May 7 03:42:30 2003 -@@ -333,7 +333,11 @@ +--- console.c.orig Sat Aug 30 00:16:50 2003 ++++ console.c Sat Aug 30 15:56:23 2003 +@@ -335,7 +335,11 @@ fgets(value, 20, stdin); seq = atol(value); } +#ifdef __FreeBSD__ -+ while (atoi(value) < 0 || atoi(value) > 4294970000); ++ while (atoi(value) < 0 || strtoll(value, NULL, 10) > 4294970000); +#else while (atoi(value) < 0 || atoll(value) > 4294970000); +#endif } else if (!strcmp ("3.5", cmd)) { -@@ -343,7 +347,11 @@ +@@ -345,7 +349,11 @@ fgets(value, 20, stdin); ack = atol(value); } +#ifdef __FreeBSD__ -+ while (atoi(value) < 0 || atoi(value) > 4294970000); ++ while (atoi(value) < 0 || strtoll(value, NULL, 10) > 4294970000); +#else while (atoi(value) < 0 || atoll(value) > 4294970000); +#endif -- cgit v1.2.3