chiark / gitweb /
Make Disobedience login window work even when you're logged in.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 29 Jun 2008 11:39:20 +0000 (12:39 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 29 Jun 2008 11:39:20 +0000 (12:39 +0100)
commit68210888bf7afe27f6464560b1f35e2312601bb3
tree85398d95efb75cf02628481d0979aec56379f7de
parent7a201620482ca3f6061436e1f740e1b5ff495425
Make Disobedience login window work even when you're logged in.

The previous code attempted to stop constant error messages when you
had a wrong password set by suppressing all disorder connection
activity when the login window was up.  This broke most activity in
the login window.  I don't really know why...

The new model has eclient stop making new connection attempts if it
gets an authentication error (it also disconnects when this happens).
So Disobedience now re-enables connection attempts when a
believed-good password is set.

Perhaps a future version will make this less ugly.
CHANGES.html
disobedience/client.c
disobedience/disobedience.c
disobedience/login.c
lib/eclient.c
lib/eclient.h