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)