Skip to content

Commit

Permalink
Edited stomp.php via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Oct 1, 2011
1 parent 5b66d11 commit 2442f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stomp.php
Expand Up @@ -29,7 +29,6 @@
$frame = $stomp->readFrame();
if (! $frame) continue; // Timeout

$a = array();
try {
$m = new Marshal();
$a = $m->load($frame->body); // Decode frame body
Expand All @@ -45,6 +44,7 @@

} catch(MarshalException $e) {
print "Exception: ".$e->getMessage()."\n";
continue;
}
$frame->body = $a;

Expand Down

0 comments on commit 2442f25

Please sign in to comment.