diff options
Diffstat (limited to 'src/microhttpd/test_client_put_stop.c')
-rw-r--r-- | src/microhttpd/test_client_put_stop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c index aaf5c829..3a6c1865 100644 --- a/src/microhttpd/test_client_put_stop.c +++ b/src/microhttpd/test_client_put_stop.c | |||
@@ -1964,17 +1964,17 @@ startTestMhdDaemon (enum testMhdThreadsType thrType, | |||
1964 | { | 1964 | { |
1965 | *pport = 4170; | 1965 | *pport = 4170; |
1966 | if (use_shutdown) | 1966 | if (use_shutdown) |
1967 | *pport += 0; | 1967 | *pport = (uint16_t) (*pport + 0); |
1968 | if (use_close) | 1968 | if (use_close) |
1969 | *pport += 1; | 1969 | *pport = (uint16_t) (*pport + 1); |
1970 | if (use_hard_close) | 1970 | if (use_hard_close) |
1971 | *pport += 1; | 1971 | *pport = (uint16_t) (*pport + 1); |
1972 | if (by_step) | 1972 | if (by_step) |
1973 | *pport += 1 << 2; | 1973 | *pport = (uint16_t) (*pport + (1 << 2)); |
1974 | if (upl_chunked) | 1974 | if (upl_chunked) |
1975 | *pport += 1 << 3; | 1975 | *pport = (uint16_t) (*pport + (1 << 3)); |
1976 | if (! oneone) | 1976 | if (! oneone) |
1977 | *pport += 1 << 4; | 1977 | *pport = (uint16_t) (*pport + (1 << 4)); |
1978 | } | 1978 | } |
1979 | 1979 | ||
1980 | if (testMhdThreadExternal == thrType) | 1980 | if (testMhdThreadExternal == thrType) |