Use calloc() instead of malloc() and memset().
Calculate the length of a couple of buffers only once, not every iteration,
since length of the buffers do not change.
Remove superfluous free().
Merge branch 'master' of github.com:okoeroo/libhtaccess
Close the file stream when the htaccess_readfile function fails as well.
Merge pull request #1 from flupzor/master

Small speedups
by flupzor