summaryrefslogtreecommitdiff
path: root/daemon/ParseFTPList.c
diff options
context:
space:
mode:
authorA. Walton <awalton@svn.gnome.org>2008-03-04 22:49:45 +0000
committerAndrew Walton <awalton@src.gnome.org>2008-03-04 22:49:45 +0000
commitff681b817d6094ddf9bd8c95e76341ea72c5319f (patch)
tree0e86d4bce1dd790e7ed1b056566aee29300696de /daemon/ParseFTPList.c
parent0bcfff25630502106c9e72afe7e93d20d785f27f (diff)
Trivial C89 patch, fixes #520339. Patch from Jens Granseuer.
2008-03-04 A. Walton <awalton@svn.gnome.org> * daemon/ParseFTPList.c (ParseFTPList): Trivial C89 patch, fixes #520339. Patch from Jens Granseuer. svn path=/trunk/; revision=1548
Diffstat (limited to 'daemon/ParseFTPList.c')
-rw-r--r--daemon/ParseFTPList.c2
1 files changed, 1 insertions, 1 deletions
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++))