changeset 110:18a81cc0084b

RLG-Web: fix lockfile mixup. Put the terminal dimensions into the lockfile in the proper order.
author John "Elwin" Edwards <elwin@sdf.org>
date Sun, 15 Jul 2012 21:03:36 -0700
parents 67b393f10c2b
children f56fdfeed01a
files rlgwebd.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rlgwebd.js	Sun Jul 15 20:30:33 2012 -0700
+++ b/rlgwebd.js	Sun Jul 15 21:03:36 2012 -0700
@@ -124,7 +124,7 @@
   var ts = timestamp();
   var progressdir = "/dgldir/inprogress-" + this.game.uname;
   this.lock = path.join(progressdir, this.pname + ":node:" + ts + ".ttyrec");
-  var lmsg = this.term.pid.toString() + '\n' + this.w + '\n' + this.h + '\n'; 
+  var lmsg = this.term.pid.toString() + '\n' + this.h + '\n' + this.w + '\n'; 
   fs.writeFile(this.lock, lmsg, "utf8"); 
   var ttyrec = path.join("/dgldir/ttyrec", this.pname, this.game.uname, 
                ts + ".ttyrec");