Skip to content

Commit 2eeab72

Browse files
committed
Test fix for issue benjaminws#14
1 parent 2e3b096 commit 2eeab72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stomp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function parse_frame(chunk) {
7474

7575
the_rest = data.split('\n\n');
7676
headers = parse_headers(the_rest[0]);
77-
body = the_rest[1];
77+
body = the_rest.slice(1, the_rest.length);
7878

7979
if ('content-length' in headers)
8080
headers['bytes_message'] = true;

0 commit comments

Comments
 (0)