Use getcwd() instead of get_current_dir_name().
[tinc] / src / proxy.h
2015-11-06 Guus SliepenAdd ability to use proxies to connect to hostnames...