ipc: Only split log messages once on a comma.

Otherwise log messages that themselves use a comma in there somewhere
will have the parts after the comma stripped out.
wilder
Michael Pyne 8 years ago
parent 28afade793
commit e27eb8911a
  1. 2
      modules/ksb/IPC.pm

@ -158,7 +158,7 @@ sub _updateSeenModulesFromMessage
} }
} }
when (ksb::IPC::MODULE_LOGMSG) { when (ksb::IPC::MODULE_LOGMSG) {
my ($ipcModuleName, $logMessage) = split(',', $buffer); my ($ipcModuleName, $logMessage) = split(',', $buffer, 2);
# Save it for later if we can't print it yet. # Save it for later if we can't print it yet.
$messagesRef->{$ipcModuleName} //= [ ]; $messagesRef->{$ipcModuleName} //= [ ];

Loading…
Cancel
Save