diff rlgterm.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 82be54381964
children 83f9a799a374
line wrap: on
line diff
--- a/rlgterm.js	Wed May 23 07:46:08 2012 -0700
+++ b/rlgterm.js	Wed May 23 14:28:47 2012 -0700
@@ -152,7 +152,7 @@
         nrecv++;
       }
     }
-    else if (response.n > nrecv) {
+    else if (msgDict.n > nrecv) {
       /* The current message comes after one still missing.  Queue this one
        * for later use. */
       debug(1, "Got packet " + msgDict.n + ", expected " + nrecv);