libi2ncommon: (tomj) add missing default return value to drop_root_privileges()
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 12 Aug 2008 15:30:34 +0000 (15:30 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 12 Aug 2008 15:30:34 +0000 (15:30 +0000)
src/daemonfunc.cpp

index d6ecad9..170bf67 100644 (file)
@@ -77,6 +77,8 @@ bool drop_root_privileges(const std::string &username,
       if (setuid(my_user.Uid))
          return false;
    }
+
+    return true;
 }
 
 /**