diff options
author | Ron Yorston <rmy@pobox.com> | 2020-06-03 15:08:16 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-06-03 15:50:04 +0100 |
commit | 214caad089b620f2b210c0948b1526d64932a256 (patch) | |
tree | 8811139935cfa12bfbfafd9b40c0e22c197bd07b /include | |
parent | 27c718aa1a4674587925adb543362cb8e60814c4 (diff) | |
download | busybox-w32-214caad089b620f2b210c0948b1526d64932a256.tar.gz busybox-w32-214caad089b620f2b210c0948b1526d64932a256.tar.bz2 busybox-w32-214caad089b620f2b210c0948b1526d64932a256.zip |
win32: fix networking problems
The subprocess that handles incoming connections for httpd didn't
work. It has an accepted connection on stdin and calls getpeername()
to obtain its details, but getpeername() didn't initialise networking.
ssl_client only seems to deal with file descriptors. Expose
init_winsock() again and call it from ssl_client.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index fa8f705b0..e2d6299b9 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -509,6 +509,7 @@ void qsort_string_vector_case(char **sv, unsigned count) FAST_FUNC; | |||
509 | */ | 509 | */ |
510 | 510 | ||
511 | const char *get_busybox_exec_path(void); | 511 | const char *get_busybox_exec_path(void); |
512 | void init_winsock(void); | ||
512 | void init_codepage(void); | 513 | void init_codepage(void); |
513 | 514 | ||
514 | int has_bat_suffix(const char *p); | 515 | int has_bat_suffix(const char *p); |