diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 23:51:52 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 23:51:52 +0200 |
commit | 6aedcd087462eb198958229f3c9785da6ac52cf3 (patch) | |
tree | 219c38296baefe188d2025f352d0020a72770183 /src/Net | |
parent | 177c770bbb4c75b42688d5c5e7627c2fef8500e5 (diff) | |
download | mad-6aedcd087462eb198958229f3c9785da6ac52cf3.tar mad-6aedcd087462eb198958229f3c9785da6ac52cf3.zip |
Receive richtig schreiben...
Diffstat (limited to 'src/Net')
-rw-r--r-- | src/Net/Connection.cpp | 2 | ||||
-rw-r--r-- | src/Net/Connection.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Net/Connection.cpp b/src/Net/Connection.cpp index 298eb3e..31821ac 100644 --- a/src/Net/Connection.cpp +++ b/src/Net/Connection.cpp @@ -47,7 +47,7 @@ bool Connection::send(const Packet &packet) { return true; } -bool Connection::recieve() { +bool Connection::receive() { unsigned char *headerData = reinterpret_cast<unsigned char*>(&header); ssize_t ret; diff --git a/src/Net/Connection.h b/src/Net/Connection.h index f48ef20..063ffb7 100644 --- a/src/Net/Connection.h +++ b/src/Net/Connection.h @@ -52,9 +52,9 @@ class Connection { virtual bool dataPending() = 0; bool send(const Packet &packet); - bool recieve(); + bool receive(); - sigc::signal<void,const Connection*,const Packet&> signalRecieve() const {return signal;} + sigc::signal<void,const Connection*,const Packet&> signalReceive() const {return signal;} static void init() { gnutls_global_init(); |