From aeefd12522ebc9fecdc3d2b600425c8c1c8f9185 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 7 Sep 2009 07:52:30 +0000 Subject: [PATCH] Don't forget to clear the previous configuration --- src/Network/generic.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Network/generic.cxx b/src/Network/generic.cxx index 0e01985e3..b518a8a32 100644 --- a/src/Network/generic.cxx +++ b/src/Network/generic.cxx @@ -535,11 +535,13 @@ FGGeneric::reinit() SGPropertyNode *output = root.getNode("generic/output"); if (output) { + _out_message.clear(); read_config(output, _out_message); } SGPropertyNode *input = root.getNode("generic/input"); if (input) { + _in_message.clear(); read_config(input, _in_message); } }