]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Shm.pl
ws
[infobot.git] / src / Shm.pl
index 0c3116bedd9c065e7d13a071a08d586d3e00496e..efdfced295665d79c98598e3a26facd549272e38 100644 (file)
@@ -235,7 +235,8 @@ sub shmFlush {
 
     my $time;
     my $shmmsg = &shmRead($shm);
-    $shmmsg =~ s/\0//g;         # remove padded \0's.
+    # remove padded \0's.
+    $shmmsg =~ s/\0//g;
     return if (length($shmmsg) == 0);
     if ($shmmsg =~ s/^(\S+):(\d+):(\d+): //) {
        my $n   = $1;