From 05f162406dd70c5dd8b6405075ca96cc83cff673 Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 19 Sep 2015 09:48:12 +0200 Subject: [PATCH] simplified --- src/ebusd/mainloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index cc8318d3..cd3a86fb 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -321,7 +321,7 @@ string MainLoop::executeRead(vector &args) time_t now; time(&now); - while (hex && argPos > 0 && args.size() > argPos) { + if (hex && argPos > 0 && args.size() > argPos) { SymbolString cacheMaster(false); result_t ret = parseHexMaster(args, argPos, cacheMaster); if (ret != RESULT_OK)