Fix for non-threaded resolver.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 28 Sep 2009 21:46:26 +0000 (23:46 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 28 Sep 2009 21:46:26 +0000 (23:46 +0200)
commit5debc3f1f692c1ebafc04fe5603ef51611ec10e5
tree4b06379968c22a51103cb448ac1660d1aa4a4d8e
parente1993dd8b28a59fb89cd9fd2d635f55efe10eac5
Fix for non-threaded resolver.

For the non-threaded host resolver, create_host may return NULL. This
in turn will make database-host a NULL ptr. This fixes
client_prep_connection to return if that's the case.
src/connection.c