[BusyBox-cvs] busybox/libbb xconnect.c,1.7,1.8
Erik Andersen
andersen at busybox.net
Mon Nov 3 21:20:20 UTC 2003
Update of /var/cvs/busybox/libbb
In directory winder:/tmp/cvs-serv19834/libbb
Modified Files:
xconnect.c
Log Message:
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.
Index: xconnect.c
===================================================================
RCS file: /var/cvs/busybox/libbb/xconnect.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- xconnect.c 31 Oct 2003 09:31:44 -0000 1.7
+++ xconnect.c 3 Nov 2003 21:20:17 -0000 1.8
@@ -18,7 +18,7 @@
#include <arpa/inet.h>
#include "libbb.h"
-int bb_getport(char *port)
+int bb_getport(const char *port)
{
int port_nr;
char *endptr;
@@ -41,7 +41,7 @@
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;
More information about the busybox-cvs
mailing list