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

Commit d75ef72

Browse files
committed
Merge pull request #43 from nenuadrian/master
If the length of the header array is 1 or 0 then it makes no sense to…
2 parents 613b897 + 72af21c commit d75ef72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/stomp.js

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ function parse_headers(raw_headers) {
5151
headers[header_key] = header_val;
5252
continue;
5353
}
54-
headers[header[0].trim()] = header[1].trim();
5554
}
5655
return headers;
5756
};

0 commit comments

Comments
 (0)