diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2017-09-06 01:20:02 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-09-07 08:18:46 +0000 |
commit | 33e002b168a211b1d620f4fffbd3752c8f1f2129 (patch) | |
tree | 254a4df5af366150e6650704b677b05e7115218b /src/uri/sock_test_server.c | |
parent | 483041413842e04f6958ae8cae4135dc2262d43b (diff) |
Fix session connect_* api message handling.
Change-Id: If7fd125989c90240de12953658d10007b9eb4f07
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/uri/sock_test_server.c')
-rw-r--r-- | src/uri/sock_test_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri/sock_test_server.c b/src/uri/sock_test_server.c index 52c60dc40ff..f703b177385 100644 --- a/src/uri/sock_test_server.c +++ b/src/uri/sock_test_server.c @@ -345,7 +345,7 @@ main (int argc, char **argv) memset (&servaddr, 0, sizeof (servaddr)); servaddr.sin_family = AF_INET; - servaddr.sin_addr.s_addr = htons (INADDR_ANY); + servaddr.sin_addr.s_addr = htonl (INADDR_ANY); servaddr.sin_port = htons (port); #ifdef VCL_TEST |