Fixing spaces vs tabs

This commit is contained in:
Andy Snowden 2014-12-09 03:39:54 +00:00 committed by Rainer Gerhards
parent 73c47c93a7
commit d4ca2650ba

View File

@ -78,11 +78,11 @@ while ($keepRunning) {
# We seem to have not timeout for select - or do we? # We seem to have not timeout for select - or do we?
if ($STDIN->can_read($pollPeriod)) { if ($STDIN->can_read($pollPeriod)) {
$stdInLine = <STDIN>; $stdInLine = <STDIN>;
# Catch EOF, run onRecieve onr last time and exit # Catch EOF, run onRecieve onr last time and exit
if (eof()){ if (eof()){
$keepRunning = 0; $keepRunning = 0;
last; last;
} }
if (length($stdInLine) > 0) { if (length($stdInLine) > 0) {
push (@msgs, $stdInLine); push (@msgs, $stdInLine);