git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1023 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/10/19 09:55:47... | ... |
@@ -150,11 +150,12 @@ static long int cli_caloff(const char *offstr, int fd) |
150 | 150 |
int cli_validatesig(unsigned short target, unsigned short ftype, const char *offstr, unsigned long int fileoff, int desc, const char *virname) |
151 | 151 |
{ |
152 | 152 |
|
153 |
+ |
|
153 | 154 |
if(target) { |
154 | 155 |
if(target >= TARGET_TABLE_SIZE) { |
155 | 156 |
cli_errmsg("Bad target in signature (%s)\n", virname); |
156 | 157 |
return 0; |
157 |
- } else if(ftype) { |
|
158 |
+ } else { |
|
158 | 159 |
if(targettab[target] != ftype) { |
159 | 160 |
cli_dbgmsg("Type: %d, expected: %d (%s)\n", ftype, targettab[target], virname); |
160 | 161 |
return 0; |