summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14edce5)
raw | patch | inline | side by side (parent: 14edce5)
author | Florian Forster <octo@collectd.org> | |
Sat, 31 Mar 2012 15:27:14 +0000 (17:27 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 31 Mar 2012 15:27:14 +0000 (17:27 +0200) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 339a5011c29f177cc2151980196081f37c43f259..34cd1c0151b5fcf01e04ce86b58f0d9c6986b90d 100644 (file)
--- a/src/network.c
+++ b/src/network.c
ERROR ("network plugin: Unable to append to the "
"buffer for some weird reason");
}
- else if (send_buffer_fill >= 1452 - 15)
+ else if ((network_config_packet_size - send_buffer_fill) < 15)
{
flush_buffer ();
}