2012-03-08  Paul Tagliamonte  <tag@pault.ag>

* src/domain_expander.c (_check_ender): Added a free call after the substr
call, which was causing a memory leak.
(_inner_expand): Same as above.
(substr): Moved the int init to outside the for loop, since we use it outside
the loop anyway. This is just stylistic.

* README: Added a cluase on why we're actually using Expat rather then GPL,
considering how much of a GPL advocate I am.

2012-03-07:  Paul Tagliamonte  <tag@pault.ag>

* src/Makefile (LDFLAGS): Added -ldl. Since there is an issue with ld's
--as-needed flag, I've turned on --no-as-needed, to ensure libdl gets linked.
Thanks for this goes to git, for using a util that wasn't linked against
libdl.

* src/domain_expander.c (expand_domain): added a check to see if c is null,
since they can really pass us any ole' garbage, and a null call will result in
a segfault. Should be fixed now. Thanks to some half-baked app for finding
this out.
