Advertisement
Guest User

Protoshares crash patch

a guest
Nov 11th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.57 KB | None | 0 0
  1. --- ProtoShares/src/net.cpp 2013-11-11 11:46:13.019922787 -0800
  2. +++ ProtoShares-new/src/net.cpp 2013-11-11 12:34:22.155890315 -0800
  3. @@ -710,7 +710,7 @@
  4.      while (it != pnode->vSendMsg.end()) {
  5.          const CSerializeData &data = *it;
  6.          assert(data.size() > pnode->nSendOffset);
  7. -#ifdef WIN32
  8. +#if 1
  9.          int nBytes = send(pnode->hSocket, &data[pnode->nSendOffset], data.size() - pnode->nSendOffset, MSG_NOSIGNAL | MSG_DONTWAIT);
  10.  #else
  11.          int nBytes = send(pnode->hSocket, &data[pnode->nSendOffset], data.size() - pnode->nSendOffset, MSG_DONTWAIT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement