changeset 62:7793ad53b90f

rlgwebd.js: fix failure to respond. The codepath for a watcher requesting to quit did not lead to any response being sent.
author John "Elwin" Edwards <elwin@sdf.org>
date Wed, 20 Jun 2012 07:37:15 -0700
parents 071ec6b1ec03
children a077f9f84052
files rlgwebd.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rlgwebd.js	Tue Jun 19 20:08:05 2012 -0700
+++ b/rlgwebd.js	Wed Jun 20 07:37:15 2012 -0700
@@ -720,6 +720,8 @@
   // Give things some time to happen.
   if (client instanceof Player)
     setTimeout(readFeed, 200, client, res);
+  else
+    readFeed(client, res);
   return;
 }