From 3f59ed36092bccfff88cf7579071c1216ea55ed2 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 17 Dec 2008 21:53:49 +0000 Subject: fixed tundevice for windows --- src/tunDevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tunDevice.h') diff --git a/src/tunDevice.h b/src/tunDevice.h index 3768cf9..99f3d4b 100644 --- a/src/tunDevice.h +++ b/src/tunDevice.h @@ -50,7 +50,7 @@ public: std::string getTypeString() { if(fd_ < 0) - return NULL; + return ""; switch(conf_.type_) { @@ -58,7 +58,7 @@ public: case TYPE_TUN: return "tun"; break; case TYPE_TAP: return "tap"; break; } - return NULL; + return ""; } -- cgit v1.2.3