summaryrefslogtreecommitdiffstats
path: root/src/Net
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net')
-rw-r--r--src/Net/Connection.cpp2
-rw-r--r--src/Net/Connection.h4
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();