Fix some typos.

Some code copied and pasted without updating the variable names was
causing crashes.
This commit is contained in:
John "Elwin" Edwards 2012-05-23 14:28:47 -07:00
parent 018adf9acf
commit c1856a6184
2 changed files with 2 additions and 2 deletions

View file

@ -391,7 +391,7 @@ function logout(term, res) {
sendError(res, 1, null);
return;
}
cterm.close();
term.close();
var resheaders = {'Content-Type': 'text/plain'};
res.writeHead(200, resheaders);
res.write(JSON.stringify({"t": "q"}));