From 0fa030f274a2e4f83f08592f507c3f4969d0f643 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 7 Jul 2005 20:16:35 +0000 Subject: Update to 0.9.3. --- net/ser/files/patch-parser::parse_hostport.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net/ser/files/patch-parser::parse_hostport.c (limited to 'net/ser/files/patch-parser::parse_hostport.c') diff --git a/net/ser/files/patch-parser::parse_hostport.c b/net/ser/files/patch-parser::parse_hostport.c new file mode 100644 index 000000000000..b00d03bd6219 --- /dev/null +++ b/net/ser/files/patch-parser::parse_hostport.c @@ -0,0 +1,27 @@ + +$FreeBSD$ + +--- parser/parse_hostport.c.orig ++++ parser/parse_hostport.c +@@ -25,8 +25,6 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#ifdef _OBSOLETED +- + #include "parse_hostport.h" + #include /* strlen */ + #include "../dprint.h" +@@ -43,7 +41,6 @@ + if (*tmp==0) { + *port=0; + } else { +- *tmp=0; + *port=str2s((unsigned char*)(tmp+1), strlen(tmp+1), &err); + if (err ){ + LOG(L_INFO, +@@ -56,4 +53,3 @@ + return host->s; + } + +-#endif -- cgit v1.2.3