tunneldiggercpp

git clone git://archive.git.mtrnord.blog/MTRNord/tunneldiggercpp.git
Log | Files | Refs | README

commit 98b40f993a1c3826ca44b7bad89e3ba4cf1e0cd7
parent 6efe47c3e317f3e93100b0c487289613b1a26cae
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 22 Sep 2017 20:09:40 +0200

add missing convertion

Signed-off-by: MTRNord <mtrnord1@gmail.com>

Diffstat:
Mmain.cpp | 2+-
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! */ - broker::TunnelManager tunnelManager(reader.Get("broker", "namespace", "l2tp")); + broker::TunnelManager tunnelManager(c_str(reader.Get("broker", "namespace", "l2tp"))); tunnelManager.initialize(); } else { /* Anything goes. */