summaryrefslogtreecommitdiff
path: root/ftp/curl/files/patch-lib::hostip.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-06-03 22:41:40 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-06-03 22:41:40 +0000
commit64b64d5ff70dae7baae7d1c4985bfe485e310ca3 (patch)
tree3ba02a3613025d14be6bb631b3d27f3f9746aa88 /ftp/curl/files/patch-lib::hostip.c
parent- Update to 1.0.0 pre5 (diff)
Update ftp/curl to 7.12.0 and bump the shared library version in all
dependent ports.
Notes
Notes: svn path=/head/; revision=110800
Diffstat (limited to 'ftp/curl/files/patch-lib::hostip.c')
-rw-r--r--ftp/curl/files/patch-lib::hostip.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ftp/curl/files/patch-lib::hostip.c b/ftp/curl/files/patch-lib::hostip.c
deleted file mode 100644
index 4c15c91a7222..000000000000
--- a/ftp/curl/files/patch-lib::hostip.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- lib/hostip.c.orig Fri Apr 9 14:28:07 2004
-+++ lib/hostip.c Fri Apr 9 14:29:12 2004
-@@ -887,11 +887,11 @@
-
- /* now, shrink the allocated buffer to the size we actually need, which
- most often is only a fraction of the original alloc */
-- newbuf=(char *)realloc(*buf, (long)bufptr-(long)(*buf));
-+ newbuf=(char *)realloc(*buf, (long)(bufptr-*buf));
-
- /* if the alloc moved, we need to adjust things again */
- if(newbuf != *buf)
-- hostcache_fixoffset((struct hostent*)newbuf, (long)newbuf-(long)*buf);
-+ hostcache_fixoffset((struct hostent*)newbuf, (long)(newbuf-*buf));
-
- /* setup the return */
- *buf = newbuf;