curl plugin: Don't use CDTIME_T_TO_DOUBLE() within a composite literal.
authorFlorian Forster <octo@collectd.org>
Thu, 27 Oct 2016 19:19:35 +0000 (21:19 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 27 Oct 2016 19:19:35 +0000 (21:19 +0200)
commit661bf777b32b7df979586ac1e31eb22217d00049
tree526927ba7b3ca20375da412649e4514df4e89f89
parent70b606111981cebf7c581c945118022a4f416577
curl plugin: Don't use CDTIME_T_TO_DOUBLE() within a composite literal.

GCC 4.6 has a problem with the original code:

    curl.c: In function 'cc_submit_response_time':
    curl.c:644:26: internal compiler error: Segmentation fault

This is essentially a shot in the dark, trying to fix this issue.
src/curl.c