X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.c;h=fe1b946b1e96596ce6cd8c7949407bf7a341cfb6;hp=f1b4b212e11f3e1d807d9a78d1ac31b6d17cf9ca;hb=a22e734cd89015a71d0dd7cf895799c440805847;hpb=5000a12ad288893d494ccd04d061752ed022d1d0 diff --git a/user_list.c b/user_list.c index f1b4b212..fe1b946b 100644 --- a/user_list.c +++ b/user_list.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -43,7 +43,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)