Revision 5a196d84 vncauthproxy/proxy.py

b/vncauthproxy/proxy.py
212 212
            self.error("Wrong response length %d, should be 16" % len(response))
213 213
            raise gevent.GreenletExit
214 214

  
215
        if rfb.check_password(challenge, response, password):
215
        if rfb.check_password(challenge, response, self.password):
216 216
            self.debug("Authentication successful!")
217 217
        else:
218 218
            self.warn("Authentication failed")
......
292 292
    def _run(self):
293 293
        try:
294 294
            self.log.debug("Waiting for client to connect")
295
            rlist, _, _ = select(listeners, [], [], timeout=self.timeout)
295
            rlist, _, _ = select(self.listeners, [], [], timeout=self.timeout)
296 296

  
297 297
            if not rlist:
298 298
                self.info("Timed out, no connection after %d sec" % self.timeout)

Also available in: Unified diff