Mercurial > hg > rlgwebd
diff rlgwebd.js @ 22:51d59a0e3b20
Fix some typos.
Some code copied and pasted without updating the variable names was
causing crashes.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Wed, 23 May 2012 14:28:47 -0700 |
parents | 5f785e1d5cca |
children | 21de24c08aed |
line wrap: on
line diff
--- a/rlgwebd.js Wed May 23 07:46:08 2012 -0700 +++ b/rlgwebd.js Wed May 23 14:28:47 2012 -0700 @@ -391,7 +391,7 @@ 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"}));