diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-25 23:06:23 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2013-06-25 23:06:23 +0200 |
commit | ad0dc1510b08e54884952d1a9dc75ec3571928e7 (patch) | |
tree | 2b395be5c6944fd9eba8e6b340f219445d233930 | |
parent | ebd7d6074248d65425620ca94ce4766238d7fc48 (diff) | |
download | eurephia-ad0dc1510b08e54884952d1a9dc75ec3571928e7.tar.gz eurephia-ad0dc1510b08e54884952d1a9dc75ec3571928e7.tar.xz eurephia-ad0dc1510b08e54884952d1a9dc75ec3571928e7.zip |
auth/socket: Fixed a silly indenting bug in demo-auth-server.py
The socket got closed after the first authentication. Re-indent the
close() call to the proper level.
Credits goes to Colin Ryan for spotting this one.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rwxr-xr-x | auth/socket/demo-auth-server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/socket/demo-auth-server.py b/auth/socket/demo-auth-server.py index d985fa3..3589d14 100755 --- a/auth/socket/demo-auth-server.py +++ b/auth/socket/demo-auth-server.py @@ -149,8 +149,8 @@ when a authentication request arrives.""" self.__debug("Authenticating '%s' ... " % username) res = self.__authcallback(username, passwd) self.__send_response(conn, res) - conn.close() - self.__debug("Closed connection\n") + conn.close() + self.__debug("Closed connection\n") def __sighandler(self, sig, frame): |