summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2013-06-25 23:06:23 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2013-06-25 23:06:23 +0200
commitad0dc1510b08e54884952d1a9dc75ec3571928e7 (patch)
tree2b395be5c6944fd9eba8e6b340f219445d233930
parentebd7d6074248d65425620ca94ce4766238d7fc48 (diff)
downloadeurephia-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-xauth/socket/demo-auth-server.py4
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):