Skip to content

Commit 6bb1e6b

Browse files
committed
Potential fix for issue benjaminws#7
1 parent 3f6e57b commit 6bb1e6b

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
@@ -36,7 +36,7 @@ function parse_command(data) {
3636
};
3737

3838
function parse_headers(headers_str) {
39-
var these_headers = [],
39+
var these_headers = {},
4040
one_header = [],
4141
header_key = null,
4242
header_val = null,

0 commit comments

Comments
 (0)