openbsd-ports/net/konversation/patches/patch-src_dcc_transferrecv_cpp
zhuk 1d26399b11 Konversation is a user-friendly, highly configurable Internet Relay
Chat (IRC) client built on the KDE Platform. It features:

  * SSL server support
  * Bookmarking support
  * Easy to use graphical user interface
  * Multiple servers and channels in one single window
  * DCC file transfer
  * Multiple identities for different servers
  * Text decorations and colors
  * OnScreen Display for notifications
  * Automatic UTF-8 detection
  * Per channel encoding support
  * Theme support for nick icons

Remember to set up encoding before connecting. This is done in
your identity parameters dialog.

okay landry@
2014-07-13 09:24:16 +00:00

16 lines
820 B
Plaintext

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