From 6aedcd087462eb198958229f3c9785da6ac52cf3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 12 Jun 2008 23:51:52 +0200 Subject: Receive richtig schreiben... --- src/Net/Connection.cpp | 2 +- src/Net/Connection.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Net') 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(&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 signalRecieve() const {return signal;} + sigc::signal signalReceive() const {return signal;} static void init() { gnutls_global_init(); -- cgit v1.2.3