summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-04-07 17:52:20 +0200
committerDenys Vlasenko2011-04-07 17:52:20 +0200
commitca18311d0ae16a96e988df15a9009095f93df85e (patch)
tree2122c871968c5239049c18b785c2ff27c6593f4f /include/libbb.h
parent8e23fafadee75bbe275bb795d0b2c2121dad93e7 (diff)
downloadbusybox-ca18311d0ae16a96e988df15a9009095f93df85e.zip
busybox-ca18311d0ae16a96e988df15a9009095f93df85e.tar.gz
libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f2f3313..34f7f6a 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -589,7 +589,7 @@ len_and_sockaddr* xhost_and_af2sockaddr(const char *host, int port, sa_family_t
/* Assign sin[6]_port member if the socket is an AF_INET[6] one,
* otherwise no-op. Useful for ftp.
* NB: does NOT do htons() internally, just direct assignment. */
-void set_nport(len_and_sockaddr *lsa, unsigned port) FAST_FUNC;
+void set_nport(struct sockaddr *sa, unsigned port) FAST_FUNC;
/* Retrieve sin[6]_port or return -1 for non-INET[6] lsa's */
int get_nport(const struct sockaddr *sa) FAST_FUNC;
/* Reverse DNS. Returns NULL on failure. */