X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.c;h=f5aabc0979fa8d1feb1e60722cfd00451d5dfe1a;hp=e13d8bb7cc7a660fdc9b56119706d893e579b2fa;hb=4e84e9b35b8e45314d779ff6353e826ebda31483;hpb=cd8bb5a2d51179a31842a2cd7012cad28deea78d diff --git a/user_list.c b/user_list.c index e13d8bb7..f5aabc09 100644 --- a/user_list.c +++ b/user_list.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -39,7 +39,7 @@ static void populate_user_list(char *user_list_file) struct user *u; RSA *rsa; - ret = para_fgets(line, MAXLINE, file_ptr); + ret = para_fgets(line, sizeof(line), file_ptr); if (ret <= 0) break; if (sscanf(line,"%200s %200s %200s %200s", w, n, k, p) < 3) @@ -113,7 +113,7 @@ void init_user_list(char *user_list_file) /** * Lookup a user in the user list. * - * \param The name of the user. + * \param name The name of the user. * * \return A pointer to the corresponding user struct if the user was found, \p * NULL otherwise.