stun

simple point to point tunnel
git clone git://git.2f30.org/stun.git
Log | Files | Refs | README

commit e62e628a67f9b242c749f068ddc0ba477fd97b6d
parent 26cab37fa54820b0582d6afefe385d6ab83197f7
Author: sin <sin@2f30.org>
Date:   Thu Apr 28 14:41:26 +0100

Print error when failing to open config file

Diffstat:
parse.y | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/parse.y b/parse.y @@ -640,8 +640,10 @@ parseconf(const char *filename) TAILQ_INIT(&netcfgs); resetnetconfig(&curnet); - if (!(file = pushfile(filename))) + if (!(file = pushfile(filename))) { + logerrx("failed to open %s", filename); return -1; + } topfile = file; yyparse();