From ff681b817d6094ddf9bd8c95e76341ea72c5319f Mon Sep 17 00:00:00 2001 From: "A. Walton" Date: Tue, 4 Mar 2008 22:49:45 +0000 Subject: Trivial C89 patch, fixes #520339. Patch from Jens Granseuer. 2008-03-04 A. Walton * daemon/ParseFTPList.c (ParseFTPList): Trivial C89 patch, fixes #520339. Patch from Jens Granseuer. svn path=/trunk/; revision=1548 --- daemon/ParseFTPList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/ParseFTPList.c') diff --git a/daemon/ParseFTPList.c b/daemon/ParseFTPList.c index 991e8d2b..829acbd0 100644 --- a/daemon/ParseFTPList.c +++ b/daemon/ParseFTPList.c @@ -1067,12 +1067,12 @@ int ParseFTPList(const char *line, struct list_state *state, ) ) { + unsigned int i; lstyle = 'U'; /* assume /bin/ls or variant format */ tokmarker = pos; /* check that size is numeric */ p = tokens[tokmarker]; - unsigned int i; for (i = 0; i < toklen[tokmarker]; i++) { if (!isdigit(*p++)) -- cgit v1.2.1