]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - user_list.c
Merge remote branch 'athcx/maint' into maint
[paraslash.git] / user_list.c
index e13d8bb7cc7a660fdc9b56119706d893e579b2fa..f5aabc0979fa8d1feb1e60722cfd00451d5dfe1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
  *
  * 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.