benjaminws / stomp-js

Implementation of the STOMP protocol in node.js
BSD 3-Clause "New" or "Revised" License
87 stars 47 forks source link

Minor change the the parse_headers function #29

Open kaigoh opened 11 years ago

kaigoh commented 11 years ago

Hi Ben,

This line was causing errors for me every now and then. I think the below code fixes the issue.

Thanks,

Kai.