init confdir to NULL
Merge pull request #2 from square/init_confdir

init confdir to NULL