diff rlgwebd.js @ 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 31bb3cf4f25f
children e3082fd06520
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;
 }