Skip to content

Instantly share code, notes, and snippets.

@mrvdb
Created June 15, 2011 16:23
Show Gist options
  • Save mrvdb/1027469 to your computer and use it in GitHub Desktop.
Save mrvdb/1027469 to your computer and use it in GitHub Desktop.
Patch for statusnet to work with rabbitmq 2.4.1
diff --git a/extlib/Stomp/Frame.php b/extlib/Stomp/Frame.php
index ab913d8..d024fe5 100644
--- a/extlib/Stomp/Frame.php
+++ b/extlib/Stomp/Frame.php
@@ -66,7 +66,7 @@ class StompFrame
$data = $this->command . "\n";
foreach ($this->headers as $name => $value) {
- $data .= $name . ": " . $value . "\n";
+ $data .= $name . ":" . $value . "\n";
}
$data .= "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment