From 1676cc920f366dfa38dbddce8be5f6b6c64754e7 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 31 Mar 2012 17:27:14 +0200 Subject: [PATCH] Revert "Proposal fix for large "MaxPacketSize" use." This reverts commit 12213f8dfeee3feb3846aa658def0bb79c1211d0. --- src/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network.c b/src/network.c index 339a5011..34cd1c01 100644 --- 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 (); } -- 2.11.0