command.c: Document return value of handle_connect().
[paraslash.git] / command.c
index 74e136355f644721924752ceb61fbfd4ac3693dc..6b9f91de7a9b2acf76dd1e719fa6c88af96310ea 100644 (file)
--- a/command.c
+++ b/command.c
@@ -818,7 +818,7 @@ static int parse_auth_request(char *buf, int len, const struct user **u,
                }
        }
        PARA_DEBUG_LOG("received auth request for user %s\n", username);
-       *u = lookup_user(username);
+       *u = user_list_lookup(username);
        ret = 1;
 out:
        free_argv(features);
@@ -900,6 +900,8 @@ static int run_command(struct command_context *cc, struct iovec *iov)
  * the function if the connection was not authenticated when the timeout
  * expires.
  *
+ * \return Standard.
+ *
  * \sa alarm(2), \ref crypt.c, \ref crypt.h.
  */
 int handle_connect(int fd)