diff options
Diffstat (limited to 'src/testcurl/daemon_options_test.c')
-rw-r--r-- | src/testcurl/daemon_options_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemon_options_test.c b/src/testcurl/daemon_options_test.c index 7a387d94..79042a46 100644 --- a/src/testcurl/daemon_options_test.c +++ b/src/testcurl/daemon_options_test.c | |||
@@ -79,12 +79,12 @@ test_ip_addr_option () | |||
79 | 79 | ||
80 | memset (&daemon_ip_addr, 0, sizeof (struct sockaddr_in)); | 80 | memset (&daemon_ip_addr, 0, sizeof (struct sockaddr_in)); |
81 | daemon_ip_addr.sin_family = AF_INET; | 81 | daemon_ip_addr.sin_family = AF_INET; |
82 | daemon_ip_addr.sin_port = htons (42433); | 82 | daemon_ip_addr.sin_port = htons (4233); |
83 | 83 | ||
84 | #if HAVE_INET6 | 84 | #if HAVE_INET6 |
85 | memset (&daemon_ip_addr6, 0, sizeof (struct sockaddr_in6)); | 85 | memset (&daemon_ip_addr6, 0, sizeof (struct sockaddr_in6)); |
86 | daemon_ip_addr6.sin6_family = AF_INET6; | 86 | daemon_ip_addr6.sin6_family = AF_INET6; |
87 | daemon_ip_addr6.sin6_port = htons (42433); | 87 | daemon_ip_addr6.sin6_port = htons (4233); |
88 | #endif | 88 | #endif |
89 | 89 | ||
90 | inet_pton (AF_INET, "127.0.0.1", &daemon_ip_addr.sin_addr); | 90 | inet_pton (AF_INET, "127.0.0.1", &daemon_ip_addr.sin_addr); |
@@ -92,7 +92,7 @@ test_ip_addr_option () | |||
92 | inet_pton (AF_INET6, "::ffff:127.0.0.1", &daemon_ip_addr6.sin6_addr); | 92 | inet_pton (AF_INET6, "::ffff:127.0.0.1", &daemon_ip_addr6.sin6_addr); |
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | d = MHD_start_daemon (MHD_USE_DEBUG, 42433, | 95 | d = MHD_start_daemon (MHD_USE_DEBUG, 4233, |
96 | NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR, | 96 | NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR, |
97 | &daemon_ip_addr, MHD_OPTION_END); | 97 | &daemon_ip_addr, MHD_OPTION_END); |
98 | 98 | ||
@@ -102,7 +102,7 @@ test_ip_addr_option () | |||
102 | MHD_stop_daemon (d); | 102 | MHD_stop_daemon (d); |
103 | 103 | ||
104 | #if HAVE_INET6 | 104 | #if HAVE_INET6 |
105 | d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_IPv6, 42433, | 105 | d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_IPv6, 4233, |
106 | NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR, | 106 | NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR, |
107 | &daemon_ip_addr6, MHD_OPTION_END); | 107 | &daemon_ip_addr6, MHD_OPTION_END); |
108 | 108 | ||