diff options
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r-- | src/anytun.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp index b0997d4..da2f7f6 100644 --- a/src/anytun.cpp +++ b/src/anytun.cpp @@ -138,10 +138,10 @@ void syncListener() } #endif -void sender(const TunDevice* dev, PacketSource* src) +void sender(TunDevice* dev, PacketSource* src) { if(!dev || !src) { - cLog.msg(Log::PRIO_ERROR) << "sender thread died becaause either dev or src pointer is null"; + cLog.msg(Log::PRIO_ERROR) << "sender thread died because either dev or src pointer is null"; return; } @@ -227,10 +227,10 @@ void sender(const TunDevice* dev, PacketSource* src) } } -void receiver(const TunDevice* dev, PacketSource* src) +void receiver(TunDevice* dev, PacketSource* src) { if(!dev || !src) { - cLog.msg(Log::PRIO_ERROR) << "receiver thread died becaause either dev or src pointer is null"; + cLog.msg(Log::PRIO_ERROR) << "receiver thread died because either dev or src pointer is null"; return; } |