summaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-05 20:26:28 +0000
committerDenis Vlasenko2007-04-05 20:26:28 +0000
commit29fe7265b8c1917ebc03283f22a3eb61e9195979 (patch)
tree231771f61046cc95c765fc91f65cff26081d8fab /libbb/xconnect.c
parent00c2c4868a5bd90fe36beaf9236f23f60cd5e8e1 (diff)
downloadbusybox-29fe7265b8c1917ebc03283f22a3eb61e9195979.zip
busybox-29fe7265b8c1917ebc03283f22a3eb61e9195979.tar.gz
nc: port nc 1.10 to busybox
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 3c1eec9..8466325 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -208,7 +208,7 @@ len_and_sockaddr* xdotted2sockaddr(const char *host, int port)
return str2sockaddr(host, port, AF_UNSPEC, AI_NUMERICHOST | DIE_ON_ERROR);
}
-static int xsocket_type(len_and_sockaddr **lsap, int sock_type)
+int xsocket_type(len_and_sockaddr **lsap, int sock_type)
{
len_and_sockaddr *lsa;
int fd;