diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
commit | 8781f745556be5d7402d0f3adc67ecfe32fe04a0 (patch) | |
tree | 2aa8cfb446bab0283ac5ce9d8b1bb8c7bc2f3926 /nsprpub/pr/src/md/windows/w95sock.c | |
parent | f3f9b7b06e37f870463a5f2196457cca6b10d700 (diff) | |
download | uxp-8781f745556be5d7402d0f3adc67ecfe32fe04a0.tar.gz |
Update NSPR to 4.18
Diffstat (limited to 'nsprpub/pr/src/md/windows/w95sock.c')
-rw-r--r-- | nsprpub/pr/src/md/windows/w95sock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nsprpub/pr/src/md/windows/w95sock.c b/nsprpub/pr/src/md/windows/w95sock.c index 0429c655aa..c6a3ec111f 100644 --- a/nsprpub/pr/src/md/windows/w95sock.c +++ b/nsprpub/pr/src/md/windows/w95sock.c @@ -382,6 +382,11 @@ PRInt32 _PR_MD_TCPSENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) { + if (!_fd_waiting_for_overlapped_done_lock) { + PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); + return PR_FAILURE; + } + if (PR_CallOnce(&_pr_has_connectex_once, _pr_set_connectex) != PR_SUCCESS) { PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0); return PR_FAILURE; |