Kaydet (Commit) 4e178668 authored tarafından Jack Jansen's avatar Jack Jansen

Added localport/localhost initialization. This fixes socket.getsockname().

üst 9a785369
......@@ -615,6 +615,8 @@ newtcpsobject(bufsize)
return NULL;
}
INCREF(None);
self->localhost = 0;
self->localport = 0;
self->asr = None;
self->async_busy = 0;
self->async_err = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment