AlexBio/Tofu — pull request #6 by seppo0010 (2012-01-08 00:41:54+00:00)
Title: Fix crashes using example_evhttp

Most of the problems were initialized variable, and freeing null pointers which usually works fine on linux.

Also param->name and param->value were free as bstring but contained char*.

Using regular expressions I got an error different as PCRE_ERROR_NOMATCH that was the only validated one.

Last, the assert was validating the opposite scenario.

I also took the liberty of adding a .gitignore file.

Sorry for sending all this changes in one pull request, but I had to made all the changes to be able to properly test the example.