From 00334f34fc163a75224f448df9b5cd2b9fa150bf Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:34:27 +0200 Subject: [PATCH] reset parse error for socket --- src/ipc/Socket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ipc/Socket.cpp b/src/ipc/Socket.cpp index 71053f7..de4a70b 100644 --- a/src/ipc/Socket.cpp +++ b/src/ipc/Socket.cpp @@ -100,6 +100,8 @@ void CIPCSocket::mainThreadParseRequest() { // parse if (copy.find("wallpaper") == 0 || copy.find("preload") == 0) { + g_pConfigManager->parseError = ""; // reset parse error + g_pConfigManager->parseKeyword(copy.substr(0, copy.find_first_of(' ')), copy.substr(copy.find_first_of(' ') + 1)); if (g_pConfigManager->parseError != "") {