diff --git a/lib/imap.js b/lib/imap.js index cfca36a..ab8d25c 100644 --- a/lib/imap.js +++ b/lib/imap.js @@ -326,12 +326,13 @@ ImapConnection.prototype.connect = function(loginCb) { bodies = ['', null]; } + var shouldEmit; for (body = 0, lenb = bodies.length; body < lenb; body += 2) { fetches = requests[0].fetchers[bodies[body]]; val = bodies[body + 1]; for (var i=0, len=fetches.length; i