curl: Timeout is unsigned, so cannot be < 0.
commitbe33db0e42e5e59d906207286b713c623008474c
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 23 Sep 2019 21:49:05 +0000 (23 22:49 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 23 Sep 2019 21:51:01 +0000 (23 22:51 +0100)
tree2d205ea61ac2e2154c0de77f4c574c449cbc3ab5
parentc4c89d697236cf791ba8527a713bc8635a030e3b
curl: Timeout is unsigned, so cannot be < 0.

However we must check that it is <= LONG_MAX.

Thanks: Eric Blake for pointing out the error.
Fixes commit c4c89d697236cf791ba8527a713bc8635a030e3b
plugins/curl/curl.c