commit 8d4d3b8ac6fd981b5816ac5695cde1de2a8182a2
parent e232b37fea39d892487fd3b0c3e750853c1995f3
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 22 Sep 2017 20:16:09 +0200
fix converting of strings
Signed-off-by: MTRNord <mtrnord1@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.cpp b/main.cpp
@@ -33,7 +33,7 @@ int main(int argc, char* argv[]) {
/* We might have elevated privileges beyond that of the user who invoked
* the program, due to suid bit. Be very careful about trusting any data! */
- string nspaceL = (char *) reader.Get("broker", "namespace", "l2tp");
+ string nspaceL = reader.Get("broker", "namespace", "l2tp");
broker::TunnelManager tunnelManager(nspaceL.c_str());
tunnelManager.initialize();