summaryrefslogtreecommitdiff
path: root/src/bsd/tunDevice.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-12 21:58:24 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-12 21:58:24 +0000
commit7fc4efc7a0216aeb68b0639fb3f4d839b359e250 (patch)
tree8aea8365eb15feb6f33d80b1545c6db950d61c75 /src/bsd/tunDevice.cpp
parentimproved new SysExec cleanup (diff)
references are better than pointer ;)
Diffstat (limited to 'src/bsd/tunDevice.cpp')
-rw-r--r--src/bsd/tunDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd/tunDevice.cpp b/src/bsd/tunDevice.cpp
index 84fa727..1413b5f 100644
--- a/src/bsd/tunDevice.cpp
+++ b/src/bsd/tunDevice.cpp
@@ -278,6 +278,6 @@ void TunDevice::do_ifconfig()
void TunDevice::waitUntilReady()
{
if(sys_exec_)
- SysExec::waitAndDestroy(&sys_exec_);
+ SysExec::waitAndDestroy(sys_exec_);
}