Showing
1 changed file
with
4 additions
and
3 deletions
@@ -58,9 +58,10 @@ TR_socketAccept(TR_TcpSocket this) | @@ -58,9 +58,10 @@ TR_socketAccept(TR_TcpSocket this) | ||
58 | TR_delete(remote); | 58 | TR_delete(remote); |
59 | } else { | 59 | } else { |
60 | TR_socketAddrIpStr(remote, remote->host, TR_MAX_HOST); | 60 | TR_socketAddrIpStr(remote, remote->host, TR_MAX_HOST); |
61 | - remote->port = TR_socketAddrPort(remote); | ||
62 | - remote->type = TR_socketType((TR_Socket)this); | ||
63 | - remote->flags = TR_socketFlags((TR_Socket)this); | 61 | + remote->port = TR_socketAddrPort(remote); |
62 | + remote->type = TR_socketType((TR_Socket)this); | ||
63 | + remote->flags = TR_socketFlags((TR_Socket)this); | ||
64 | + remote->fin_state = TR_FIN_NO; | ||
64 | } | 65 | } |
65 | 66 | ||
66 | return (TR_TcpSocket)remote; | 67 | return (TR_TcpSocket)remote; |
Please
register
or
login
to post a comment