summaryrefslogtreecommitdiff
path: root/www/cherokee/files/patch-cherokee-connection.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-15 08:17:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-15 08:17:42 +0000
commite074896f3a1d1f36bce8037505906fbbce2740c3 (patch)
tree997059401be010bc79175cc2fbbeaf1269e6f69c /www/cherokee/files/patch-cherokee-connection.c
parent- Update to 20061214 (diff)
- Update to 0.5.6
PR: ports/106731 Submitted by: Beech Rintoul <beech@alaskaparadise.com> (maintainer)
Notes
Notes: svn path=/head/; revision=179834
Diffstat (limited to 'www/cherokee/files/patch-cherokee-connection.c')
-rw-r--r--www/cherokee/files/patch-cherokee-connection.c30
1 files changed, 5 insertions, 25 deletions
diff --git a/www/cherokee/files/patch-cherokee-connection.c b/www/cherokee/files/patch-cherokee-connection.c
index dbf057093582..9d990d78957e 100644
--- a/www/cherokee/files/patch-cherokee-connection.c
+++ b/www/cherokee/files/patch-cherokee-connection.c
@@ -1,30 +1,10 @@
---- cherokee/connection.c.orig Wed Aug 30 17:12:13 2006
-+++ cherokee/connection.c Thu Nov 16 00:41:26 2006
-@@ -33,6 +33,9 @@
+--- cherokee/connection.c.orig Mon Dec 11 11:44:26 2006
++++ cherokee/connection.c Thu Dec 14 09:50:08 2006
+@@ -32,6 +32,7 @@
+ #include <fcntl.h>
#include <time.h>
#include <sys/types.h>
-
-+#include <stdlib.h>
+#include <limits.h>
-+
+
#ifdef HAVE_PWD_H
# include <pwd.h>
- #endif
-@@ -1210,7 +1213,7 @@
- }
- tmp[num_len] = '\0';
- if (num_len != 0) {
-- cnt->range_start = atoll (tmp);
-+ cnt->range_start = strtoll(tmp, (char **)NULL, 10);
- if (cnt->range_start < 0) {
- return ret_error;
- }
-@@ -1236,7 +1239,7 @@
- num_len++;
- }
- tmp[num_len] = '\0';
-- cnt->range_end = atoll (tmp);
-+ cnt->range_end = strtoll(tmp, (char **)NULL, 10);
- if (cnt->range_end < 1){
- return ret_error;
- }