mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix windows compilation
This commit is contained in:
parent
720d5ea8a6
commit
bde6235758
@ -1274,14 +1274,16 @@ bool p3Peers::parseShortInvite(
|
||||
|
||||
case RsShortInviteFieldType::EXT4_LOCATOR:
|
||||
{
|
||||
sockaddr_in tExtAddr;
|
||||
RS_SERIAL_PROCESS(tExtAddr.sin_addr.s_addr);
|
||||
uint32_t t4Addr = 0;
|
||||
RS_SERIAL_PROCESS(t4Addr);
|
||||
if(!ctx.mOk)
|
||||
{
|
||||
RsWarn() << __PRETTY_FUNCTION__ << " failed to parse IPv4"
|
||||
<< std::endl;
|
||||
break;
|
||||
}
|
||||
sockaddr_in tExtAddr;
|
||||
tExtAddr.sin_addr.s_addr = t4Addr;
|
||||
details.extAddr = rs_inet_ntoa(tExtAddr.sin_addr);
|
||||
|
||||
RS_SERIAL_PROCESS(details.extPort);
|
||||
|
Loading…
Reference in New Issue
Block a user