Browse code

MULTISCAN: handle inaccessible directories more gently (closes bug#85)

git-svn: trunk@2441

Tomasz Kojm authored on 2006/10/28 21:49:53
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sat Oct 28 14:48:03 CEST 2006 (tk)
2
+----------------------------------
3
+  * clamd/session.c: MULTISCAN: handle inaccessible directories more gently
4
+		     (closes bug#85)
5
+
1 6
 Sat Oct 28 11:25:40 BST 2006 (njh)
2 7
 ----------------------------------
3 8
  * libclamav/pst.c:	Moved to experimental mode
... ...
@@ -217,7 +217,7 @@ static int multiscan(const char *dirname, const struct cl_node *root, const stru
217 217
 	}
218 218
 	closedir(dd);
219 219
     } else {
220
-	return -1;
220
+	return -2;
221 221
     }
222 222
 
223 223
     (*reclev)--;