]> git.donarmstrong.com Git - infobot.git/commitdiff
might help if we actually write instead of ''
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Aug 2003 18:04:10 +0000 (18:04 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Aug 2003 18:04:10 +0000 (18:04 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@817 c11ca15a-4712-0410-83d8-924469b57eb5

src/Shm.pl

index 3ecf9b930aabbe4403b45240cf112df158d2d841..4b142a46526b15173301527f13a389259cc52d9b 100644 (file)
@@ -87,7 +87,8 @@ sub shmWrite {
        $str = $read ."||". $str;
     }
 
-    if (!shmwrite($key, '', $position, $size)) {
+    if (!shmwrite($key, $str, $position, $size)) {
+       &DEBUG("shmWrite($key, $str)");
        &ERROR("shmWrite: failed: $!");
     }
 }