... | ... |
@@ -1,3 +1,23 @@ |
1 |
+/* |
|
2 |
+ * Copyright (C) 2010 Sourcefire, Inc. |
|
3 |
+ * |
|
4 |
+ * Authors: aCaB <acab@clamav.net> |
|
5 |
+ * |
|
6 |
+ * This program is free software; you can redistribute it and/or modify |
|
7 |
+ * it under the terms of the GNU General Public License version 2 as |
|
8 |
+ * published by the Free Software Foundation. |
|
9 |
+ * |
|
10 |
+ * This program is distributed in the hope that it will be useful, |
|
11 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
+ * GNU General Public License for more details. |
|
14 |
+ * |
|
15 |
+ * You should have received a copy of the GNU General Public License |
|
16 |
+ * along with this program; if not, write to the Free Software |
|
17 |
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
+ * MA 02110-1301, USA. |
|
19 |
+ */ |
|
20 |
+ |
|
1 | 21 |
#include <string.h> |
2 | 22 |
#include <stdlib.h> |
3 | 23 |
#include <pthread.h> |
... | ... |
@@ -116,7 +136,6 @@ static int cache_lookup_hash(unsigned char *md5, cli_ctx *ctx) { |
116 | 116 |
e[i].hits++; |
117 | 117 |
cache_swap(e, i); |
118 | 118 |
ret = CL_CLEAN; |
119 |
- cli_warnmsg("cached\n"); |
|
120 | 119 |
break; |
121 | 120 |
} |
122 | 121 |
} |