fix minor error

This commit is contained in:
Simon Kornblith 2010-12-21 05:50:32 +00:00
parent 493b3225f6
commit e71bed5297

View file

@ -52,7 +52,7 @@ onmessage = function(event) {
close(fd);
// extract message
string = buf.readString();
var string = buf.readString();
var parts = string.match(/^([^ \n]*) ([^ \n]*)(?: ([^\n]*))?\n?$/);
if(!parts) {
postMessage(["Exception", "Integration Worker: Invalid input received: "+string]);