mirror of
https://github.com/python/cpython.git
synced 2025-12-11 11:31:05 +00:00
issue 5002: fix windows warning that I intro'ed with r68768
This commit is contained in:
parent
1f01cd013f
commit
e8b619c152
1 changed files with 1 additions and 3 deletions
|
|
@ -83,10 +83,8 @@ conn_recv_string(ConnectionObject *conn, char *buffer,
|
||||||
* Check whether any data is available for reading
|
* Check whether any data is available for reading
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define conn_poll(conn, timeout) conn_poll_save(conn, timeout, _save)
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
conn_poll_save(ConnectionObject *conn, double timeout, PyThreadState *_save)
|
conn_poll(ConnectionObject *conn, double timeout, PyThreadState *_save)
|
||||||
{
|
{
|
||||||
DWORD bytes, deadline, delay;
|
DWORD bytes, deadline, delay;
|
||||||
int difference, res;
|
int difference, res;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue