X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.c;h=a1f1557c6fefb21d0586d6fb85c990c795dbb51a;hp=f1b4b212e11f3e1d807d9a78d1ac31b6d17cf9ca;hb=98f2c8aea52a49fad3fd6df67b1eb32c1499176c;hpb=2aa98426fca67a8b9c075ca7efea54aef18c0380 diff --git a/user_list.c b/user_list.c index f1b4b212..a1f1557c 100644 --- a/user_list.c +++ b/user_list.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2010 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)