aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-06-03 15:08:16 +0100
committerRon Yorston <rmy@pobox.com>2020-06-03 15:50:04 +0100
commit214caad089b620f2b210c0948b1526d64932a256 (patch)
tree8811139935cfa12bfbfafd9b40c0e22c197bd07b /include
parent27c718aa1a4674587925adb543362cb8e60814c4 (diff)
downloadbusybox-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.h1
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
511const char *get_busybox_exec_path(void); 511const char *get_busybox_exec_path(void);
512void init_winsock(void);
512void init_codepage(void); 513void init_codepage(void);
513 514
514int has_bat_suffix(const char *p); 515int has_bat_suffix(const char *p);