Browse Source

fixed crash

pull/93/head
orignal 10 years ago
parent
commit
377d390dff
  1. 3
      Streaming.cpp

3
Streaming.cpp

@ -309,7 +309,7 @@ namespace stream
size += 2; // options size size += 2; // options size
p.len = size; p.len = size;
std::vector<Packet *> { &p }; SendPackets (std::vector<Packet *> { &p });
LogPrint ("Quick Ack sent"); LogPrint ("Quick Ack sent");
} }
@ -419,6 +419,7 @@ namespace stream
m_CurrentRemoteLease.tunnelGateway, m_CurrentRemoteLease.tunnelID, m_CurrentRemoteLease.tunnelGateway, m_CurrentRemoteLease.tunnelID,
msg msg
}); });
leaseSet = nullptr; // send leaseSet only one time
} }
outboundTunnel->SendTunnelDataMsg (msgs); outboundTunnel->SendTunnelDataMsg (msgs);
} }

Loading…
Cancel
Save