Use getcwd() instead of get_current_dir_name().
[tinc] / src / invitation.h
2013-05-29 Guus SliepenAdd an invitation protocol.