]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Fixed net_str2port*() comments
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 26 Oct 2016 11:58:56 +0000 (14:58 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 26 Oct 2016 11:58:56 +0000 (14:58 +0300)
src/lib/net.h

index 07fa69de1f2215268879b22ff9df4e6448e5347a..56a28d29f9fec91a65291681899e686d6c161527 100644 (file)
@@ -144,9 +144,9 @@ int net_getunixcred(int fd, struct net_unix_cred *cred_r);
 const char *net_ip2addr(const struct ip_addr *ip);
 /* char* -> struct ip_addr translation. */
 int net_addr2ip(const char *addr, struct ip_addr *ip);
-/* char* -> net_port_t translation */
+/* char* -> in_port_t translation */
 int net_str2port(const char *str, in_port_t *port_r);
-/* char* -> net_port_t translation (allows port zero) */
+/* char* -> in_port_t translation (allows port zero) */
 int net_str2port_zero(const char *str, in_port_t *port_r);
 /* Parse "host", "host:port", "IPv4", "IPv4:port", "IPv6", "[IPv6]" or
    "[IPv6]:port" to its host and port components. [IPv6] address is returned