Fix building without libcurl
commit3d5b2d8d2714b10e995886a158bd8bdb406efe11
authorPetr Písař <petr.pisar@atlas.cz>
Thu, 14 Jan 2016 19:16:39 +0000 (14 20:16 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Thu, 14 Jan 2016 19:38:46 +0000 (14 20:38 +0100)
tree6a6763f061b79e45825acfe0d1b4bd95111fb913
parentf41a9ae065cb9764a8b12fe56a97d03b393e0d1a
Fix building without libcurl

If configured --without-libcurl, compilation failed with:

isds.c:11090:17: error: 'struct isds_ctx' has no member named 'curl'

This was caused by misplaced condition on libcurl support. This patch fixes it
together with similar mistake in offline tests.

Reported by Toralf Förster from Gentoo tinderbox testing
<https://bugs.gentoo.org/show_bug.cgi?id=571906>.
src/isds.c
test/offline/Makefile.am