~ubuntu-branches/ubuntu/dapper/clamav/dapper

« back to all changes in this revision

Viewing changes to clamscan/clamscan.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2006-01-10 02:55:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20060110025518-92bhgfe911byl3bc
Tags: upstream-0.88
ImportĀ upstreamĀ versionĀ 0.88

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        help();
90
90
    }
91
91
 
 
92
    if(strcmp(VERSION, cl_retver())) {
 
93
        mprintf("WARNING: Version mismatch (clamscan: "VERSION", libclamav: %s)\n", cl_retver());
 
94
        mprintf("See the FAQ at http://www.clamav.net/faq.html\n");
 
95
    }
 
96
 
92
97
    /* check other options */
93
98
 
94
99
    if(optc(opt, 'r'))
166
171
        dms += (dms < 0) ? (1000000):(0);
167
172
        mprintf("\n----------- SCAN SUMMARY -----------\n");
168
173
            logg("\n-- summary --\n");
169
 
        mprintf("Known viruses: %d\n", claminfo.signs);
170
 
            logg("Known viruses: %d\n", claminfo.signs);
 
174
        mprintf("Known viruses: %d\n", claminfo.sigs);
 
175
            logg("Known viruses: %d\n", claminfo.sigs);
171
176
        mprintf("Engine version: %s\n", cl_retver());
172
177
            logg("Engine version: %s\n", cl_retver());
173
178
        mprintf("Scanned directories: %d\n", claminfo.dirs);