author | Florian Forster <octo@collectd.org> | |
Mon, 5 Dec 2016 10:52:35 +0000 (11:52 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 5 Dec 2016 10:52:37 +0000 (11:52 +0100) | ||
commit | 11011dc93691989513ff2101c221ea15dab5658a | |
tree | 253857814b79671c6e77189fae2d37c2ae4a3ba8 | tree | snapshot |
parent | 03eb7511c9346495a50442c2be9311c101b9ccc6 | commit | diff |
write_kafka plugin: Use 32bit random number when formatting a random key.
Previously, negative numbers would be truncated to "ffffffff" by the
buffer length on architectures where longs are 64 bit.
Fixes: #2074
Previously, negative numbers would be truncated to "ffffffff" by the
buffer length on architectures where longs are 64 bit.
Fixes: #2074
src/write_kafka.c | diff | blob | history |