Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

Commit e4f84de

Browse files
committed
holy shit I'm an idiot. I need tests :x
1 parent 181374f commit e4f84de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/stomp.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ function parse_headers(raw_headers) {
4646
if (header.length > 1) {
4747
var header_key = header.shift().trim();
4848
var header_val = header.join(':').trim();
49-
these_headers[header_key] = header_val;
49+
headers[header_key] = header_val;
5050
continue;
5151
}
52-
these_headers[header[0].trim()] = header[1].trim();
52+
headers[header[0].trim()] = header[1].trim();
5353
}
5454
return headers;
5555
};

0 commit comments

Comments
 (0)