summaryrefslogtreecommitdiffstats
path: root/pica-client/skynet.cpp
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-11-26 17:56:28 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-11-26 17:56:28 +0000
commit964f8ccd1398638d3e5dfd9abb9edd23190b188f (patch)
tree467a776618d66b21adf9a22a2f6183254cd4109c /pica-client/skynet.cpp
parent530d8a587e08b83b047eefa3f2f07761c7fb25b5 (diff)
downloadpica-pica-964f8ccd1398638d3e5dfd9abb9edd23190b188f.tar.gz
pica-pica-964f8ccd1398638d3e5dfd9abb9edd23190b188f.zip
file transfer - added protocol messages, handler functions, PICA_client API functions
git-svn-id: svn://localhost/project_picapica/trunk@299 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/skynet.cpp')
-rw-r--r--pica-client/skynet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/skynet.cpp b/pica-client/skynet.cpp
index 2d2336f..7770388 100644
--- a/pica-client/skynet.cpp
+++ b/pica-client/skynet.cpp
@@ -358,7 +358,7 @@ void SkyNet::emit_PeerCertificateReceived(QByteArray peer_id, QString cert_pem,
//all callbacks are executed in separate thread, created in Nodethread instance, REMEMBER THAT !!!
// write_mutex is locked
-void SkyNet::newmsg_cb(const unsigned char *peer_id, char *msgbuf, unsigned int nb, int type)
+void SkyNet::newmsg_cb(const unsigned char *peer_id, const char *msgbuf, unsigned int nb, int type)
{
QString msg = QString::fromUtf8(msgbuf, nb);