projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Proposal fix for large "MaxPacketSize" use."
[collectd.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
339a501
..
34cd1c0
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-2775,7
+2775,7
@@
static int network_write (const data_set_t *ds, const value_list_t *vl,
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 ();
}