From 3b2c5e38dc4b7ec6ea1588841d6654606a5a502d Mon Sep 17 00:00:00 2001 From: andersen Date: Mon, 3 Nov 2003 21:20:18 +0000 Subject: Fix rdate and ftpget/ftpput so they compile with the new xconnect. I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work. git-svn-id: svn://busybox.net/trunk/busybox@7765 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/xconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/xconnect.c b/libbb/xconnect.c index 27459791e..2cbc8400b 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c @@ -18,7 +18,7 @@ #include #include "libbb.h" -int bb_getport(char *port) +int bb_getport(const char *port) { int port_nr; char *endptr; @@ -41,7 +41,7 @@ int bb_getport(char *port) return port_nr; } -void bb_lookup_host(struct sockaddr_in *s_in, char *host, char *port) +void bb_lookup_host(struct sockaddr_in *s_in, const char *host, const char *port) { struct hostent *he; -- cgit v1.2.3-55-g6feb