Fix some typos.
Some code copied and pasted without updating the variable names was causing crashes.
This commit is contained in:
parent
018adf9acf
commit
c1856a6184
2 changed files with 2 additions and 2 deletions
|
|
@ -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"}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue