[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [meek/master] asyncWait doesn't take an argument.



commit 53371c4b2a37dbed6371246fd27f5a857e6a934a
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Mon Sep 8 16:10:46 2014 -0700

    asyncWait doesn't take an argument.
---
 firefox/components/main.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/firefox/components/main.js b/firefox/components/main.js
index 0565af6..ec98d15 100644
--- a/firefox/components/main.js
+++ b/firefox/components/main.js
@@ -321,12 +321,12 @@ MeekHTTPHelper.RequestReader.prototype = {
             switch (this.state) {
             case this.STATE_READING_LENGTH:
                 this.doStateReadingLength(input);
-                this.asyncWait(inputStream);
+                this.asyncWait();
                 break;
             case this.STATE_READING_OBJECT:
                 this.doStateReadingObject(input);
                 if (this.bytesToRead > 0)
-                    this.asyncWait(inputStream);
+                    this.asyncWait();
                 break;
             }
         } catch (e) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits