This commit from 2011 fixes it: https://github.com/bagder/curl/commit/4851dafcf164bf2de5bd33c3cf2b786422ed05b6 (basically just an if-statement around everything, the rest is indentation).
Built the curl source package of Ubuntu 12.04 with and without that fix to verify. Would be nice if someone could make an update for 12.04 from this!
This commit from 2011 fixes it: https:/ /github. com/bagder/ curl/commit/ 4851dafcf164bf2 de5bd33c3cf2b78 6422ed05b6
(basically just an if-statement around everything, the rest is indentation).
Built the curl source package of Ubuntu 12.04 with and without that fix to verify.
Would be nice if someone could make an update for 12.04 from this!