esnet/iperf — pull request #162 by carlsborg (2014-05-05 03:09:31+00:00)
Title: fix has_sendfile ifdef, use the correct defined constant

Hi,

On linux you get an error saying "sendfile not supported on this OS" . Reason is has_sendfile() checks for HAS_SENDFILE instead of HAVE_SENDFILE which is what the configuration script creates, also used correctly elsewhere in the file.

thanks,
Ran