patch-src_dcc_transferrecv_cpp 820 B

12345678910111213141516
  1. $OpenBSD: patch-src_dcc_transferrecv_cpp,v 1.1.1.1 2014/07/13 09:24:16 zhuk Exp $
  2. This is what's really supposed to be here.
  3. NB: Check other network reads.
  4. REVIEW: https://git.reviewboard.kde.org/r/119256/
  5. --- src/dcc/transferrecv.cpp.orig Mon Jan 20 03:00:43 2014
  6. +++ src/dcc/transferrecv.cpp Mon Jan 20 03:02:51 2014
  7. @@ -768,7 +768,7 @@ namespace Konversation
  8. //except for old mIRC versions, but they couldn't send or receive files over 4GB anyway.
  9. //Note: The resume and filesize are set via dcc send command and can be over 4GB
  10. - quint32 pos = intel((quint32)m_transferringPosition);
  11. + quint32 pos = htonl((quint32)m_transferringPosition);
  12. m_recvSocket->write((char*)&pos, 4);
  13. if (m_transferringPosition == (KIO::fileoffset_t)m_fileSize)