diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-03 21:20:18 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-03 21:20:18 +0000 |
commit | 3b2c5e38dc4b7ec6ea1588841d6654606a5a502d (patch) | |
tree | 2fb308c0bb612180b7bf8280d1ee5e5a76ac184c /libbb | |
parent | 4ccd83db3f12b4b4137a5d5e9cae9f9ddcd8a1ca (diff) | |
download | busybox-w32-3b2c5e38dc4b7ec6ea1588841d6654606a5a502d.tar.gz busybox-w32-3b2c5e38dc4b7ec6ea1588841d6654606a5a502d.tar.bz2 busybox-w32-3b2c5e38dc4b7ec6ea1588841d6654606a5a502d.zip |
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
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
18 | #include <arpa/inet.h> | 18 | #include <arpa/inet.h> |
19 | #include "libbb.h" | 19 | #include "libbb.h" |
20 | 20 | ||
21 | int bb_getport(char *port) | 21 | int bb_getport(const char *port) |
22 | { | 22 | { |
23 | int port_nr; | 23 | int port_nr; |
24 | char *endptr; | 24 | char *endptr; |
@@ -41,7 +41,7 @@ int bb_getport(char *port) | |||
41 | return port_nr; | 41 | return port_nr; |
42 | } | 42 | } |
43 | 43 | ||
44 | void bb_lookup_host(struct sockaddr_in *s_in, char *host, char *port) | 44 | void bb_lookup_host(struct sockaddr_in *s_in, const char *host, const char *port) |
45 | { | 45 | { |
46 | struct hostent *he; | 46 | struct hostent *he; |
47 | 47 | ||