diff options
author | drunk-owl <drunkowl14@gmail.com> | 2016-08-13 23:49:33 +0300 |
---|---|---|
committer | Garrett D'Amore <garrett@damore.org> | 2017-10-03 15:58:39 -0700 |
commit | bfaa6ec8642cdc0edc1f225d7bf4e3c97595b9d8 (patch) | |
tree | 1ffe12e227f61c26001faf68f5ff589adf1f4cef /tests/tcp.c | |
parent | a589f724bbf62aae6d83dfa5109f46cc9934342d (diff) | |
download | nanomsg-bfaa6ec8642cdc0edc1f225d7bf4e3c97595b9d8.tar.gz |
fix: nn_dns_check_hostname returns EINVAL for domain names with the dot at the end
Diffstat (limited to 'tests/tcp.c')
-rw-r--r-- | tests/tcp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/tcp.c b/tests/tcp.c index a5063a2..0d950ae 100644 --- a/tests/tcp.c +++ b/tests/tcp.c @@ -118,9 +118,6 @@ int main (int argc, const char *argv[]) rc = nn_connect (sc, "tcp://[::1]:5555"); nn_assert (rc < 0); errno_assert (nn_errno () == EINVAL); - rc = nn_connect (sc, "tcp://abc.123.:5555"); - nn_assert (rc < 0); - errno_assert (nn_errno () == EINVAL); rc = nn_connect (sc, "tcp://abc...123:5555"); nn_assert (rc < 0); errno_assert (nn_errno () == EINVAL); |