aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/chat.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-27 01:30:53 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-27 01:30:53 +0000
commit88dbe3435e6fad9aa52406ce10f878b7c583dcb7 (patch)
treeb8310ee692b7d52309aa52ae6eb0c8313aaddd26 /src/modules/dcc/chat.cpp
parentMore renaming & cleanup. (diff)
downloadKVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.tar.gz
KVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.tar.bz2
KVIrc-88dbe3435e6fad9aa52406ce10f878b7c583dcb7.zip
Kill system memmove, ix86 asm and kvi_memmove stuff: modern gcc coupled to glibc can do better these times.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5235 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/chat.cpp')
-rw-r--r--src/modules/dcc/chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp
index 6ac90a686..f34a45579 100644
--- a/src/modules/dcc/chat.cpp
+++ b/src/modules/dcc/chat.cpp
@@ -43,7 +43,7 @@
#include "kvi_console.h"
#include "kvi_frame.h"
#include "KviMemory.h"
-#include "kvi_memmove.h"
+#include "KviMemory.h"
#include "KviThread.h"
#include "kvi_ircsocket.h"
#include "kvi_settings.h"
@@ -751,7 +751,7 @@ bool KviDccChatThread::handleIncomingData(KviDccThreadIncomingData * data,bool b
{
// memmove the remaining part to the beginning
// aux points after \n or \0
- kvi_memmove(data->buffer,aux,data->iLen);
+ KviMemory::move(data->buffer,aux,data->iLen);
data->buffer = (char *)KviMemory::reallocate(data->buffer,data->iLen);
end = data->buffer + data->iLen;
aux = data->buffer;