diff options
| author | 2010-12-25 05:28:46 +0000 | |
|---|---|---|
| committer | 2010-12-25 05:28:46 +0000 | |
| commit | f2f47c5eaa7d284abad1f693d7c75c85c42565df (patch) | |
| tree | 2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/dcc/thread.cpp | |
| parent | More work on the window popup (diff) | |
| download | KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2 KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip | |
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/thread.cpp')
| -rw-r--r-- | src/modules/dcc/thread.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/dcc/thread.cpp b/src/modules/dcc/thread.cpp index 3b78c11e8..dc712791d 100644 --- a/src/modules/dcc/thread.cpp +++ b/src/modules/dcc/thread.cpp @@ -4,7 +4,7 @@ // Creation date : Tue Sep 20 09 2000 18:29:51 CEST Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -28,7 +28,7 @@ #include "kvi_window.h" #include "kvi_error.h" #include "kvi_memmove.h" -#include "kvi_malloc.h" +#include "KviMemory.h" #include "kvi_netutils.h" #include "kvi_socket.h" @@ -90,10 +90,10 @@ bool KviDccThread::handleInvalidSocketRead(int readLen) #ifdef COMPILE_SSL_SUPPORT void KviDccThread::raiseSSLError() { - KviStr buffer; + KviCString buffer; while(m_pSSL->getLastErrorString(buffer)) { - KviStr msg(KviStr::Format,"[SSL ERROR]: %s",buffer.ptr()); + KviCString msg(KviCString::Format,"[SSL ERROR]: %s",buffer.ptr()); postMessageEvent(msg.ptr()); } } @@ -108,7 +108,7 @@ void KviDccThread::postErrorEvent(int err) void KviDccThread::postMessageEvent(const char * message) { - KviThreadDataEvent<KviStr> * e = new KviThreadDataEvent<KviStr>(KVI_DCC_THREAD_EVENT_MESSAGE); - e->setData(new KviStr(message)); + KviThreadDataEvent<KviCString> * e = new KviThreadDataEvent<KviCString>(KVI_DCC_THREAD_EVENT_MESSAGE); + e->setData(new KviCString(message)); postEvent(m_pParent,e); } |
