Refactored async resolver code flow

Done

On Wed, Dec 10, 2014 at 1:43 PM, Marko Mikulicic <notifications@github.com>
wrote:

> In test/unit_test.c
> <https://github.com/cesanta/fossa/pull/178#discussion-diff-21603261>:
>
> >  #include "unit_test.h"
> >
> >  #if defined ( WIN32 )
> >  #define __func__ __FUNCTION__
> >  #elif __STDC_VERSION__ < 199901L
> > -#define __func__ "unknown_function"
> > +#define __func__ "line: " NS_STRINGIFY_NUMERIC_DEFINE(__LINE__)
>
> We already print the line in FAIL, there is no need to duplicate this.
> Perhaps it's better it's better just to output an empty string altogether,
> if *func* is not supported.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cesanta/fossa/pull/178/files#r21603261>.
>