diff --git a/clamav-devel/clamscan/manager.c b/clamav-devel/clamscan/manager.c index 9cd85d7c1..72facf0a5 100644 --- a/clamav-devel/clamscan/manager.c +++ b/clamav-devel/clamscan/manager.c @@ -64,7 +64,7 @@ dev_t procdev; int scanmanager(const struct optstruct *opt) { mode_t fmode; - int ret = 0, compression = 0, fmodeint, options = 0, i; + int ret = 0, compression = 0, fmodeint, options = 0, i, x; struct cl_node *trie = NULL; struct cl_limits *limits = NULL; struct passwd *user = NULL; @@ -221,7 +221,7 @@ int scanmanager(const struct optstruct *opt) } else { char *thefilename; - for (i = 0; (thefilename = cli_strtok(opt->filename, i, "\t")) != NULL; i++) { + for (x = 0; (thefilename = cli_strtok(opt->filename, x, "\t")) != NULL; x++) { if((fmodeint = fileinfo(thefilename, 2)) == -1) { mprintf("@Can't access file %s\n", thefilename); perror(thefilename);