From 298e13958046474fa168f967888708b4ea865536 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Thu, 21 Mar 2024 11:08:48 +0100 Subject: [PATCH] Skip empty lines. (cherry picked from commit 74f2500244bd127ecc0964fb4d46b16e96bdee94) --- pandora_agents/win32/pandora.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_agents/win32/pandora.cc b/pandora_agents/win32/pandora.cc index a2dad563d2..71706c54d0 100644 --- a/pandora_agents/win32/pandora.cc +++ b/pandora_agents/win32/pandora.cc @@ -53,6 +53,9 @@ Key_Value::parseLine (string str) { string trimmedstr; trimmedstr = trim (str); + if (trimmedstr == "") { + return; + } /* Check if the string has " */ pos = trimmedstr.find ("\"");