diff options
author | 2009-03-29 11:37:29 -0400 | |
---|---|---|
committer | 2009-03-29 11:37:29 -0400 | |
commit | 6217967a353bc9d97ae45c2af495b653a47e2481 (patch) | |
tree | bae33dd5ebd8393e6dd1b30f7d1a2b75241c9956 /lib/js/urweb.js | |
parent | 213564f740d896c9a8bd86b5e2221d9434b126d3 (diff) |
Redo channels, making them single-client
Diffstat (limited to 'lib/js/urweb.js')
-rw-r--r-- | lib/js/urweb.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index c7cecbbf..4daee66d 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -301,6 +301,9 @@ function listener() { } function rv(chn, parse, k) { + if (chn == null) + return; + if (chn < 0) whine("Out-of-bounds channel receive"); |