Browse code

update

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1277 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2005/01/26 22:51:43
Showing 1 changed files
... ...
@@ -64,7 +64,7 @@ dev_t procdev;
64 64
 int scanmanager(const struct optstruct *opt)
65 65
 {
66 66
 	mode_t fmode;
67
-	int ret = 0, compression = 0, fmodeint, options = 0, i;
67
+	int ret = 0, compression = 0, fmodeint, options = 0, i, x;
68 68
 	struct cl_node *trie = NULL;
69 69
 	struct cl_limits *limits = NULL;
70 70
 	struct passwd *user = NULL;
... ...
@@ -221,7 +221,7 @@ int scanmanager(const struct optstruct *opt)
221 221
 
222 222
     } else {
223 223
 	char *thefilename;
224
-	for (i = 0; (thefilename = cli_strtok(opt->filename, i, "\t")) != NULL; i++) {
224
+	for (x = 0; (thefilename = cli_strtok(opt->filename, x, "\t")) != NULL; x++) {
225 225
 	    if((fmodeint = fileinfo(thefilename, 2)) == -1) {
226 226
 		mprintf("@Can't access file %s\n", thefilename);
227 227
 		perror(thefilename);