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

« back to all changes in this revision

Viewing changes to clamd/clamd.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:
68
68
        time_t currtime;
69
69
        struct cl_node *root = NULL;
70
70
        const char *dbdir, *cfgfile;
71
 
        int ret, virnum = 0, tcpsock;
 
71
        int ret, tcpsock;
 
72
        unsigned int virnum = 0;
72
73
#ifdef C_LINUX
73
74
        struct stat sb;
74
75
#endif
168
169
 
169
170
    logg("clamd daemon "VERSION" (OS: "TARGET_OS_TYPE", ARCH: "TARGET_ARCH_TYPE", CPU: "TARGET_CPU_TYPE")\n");
170
171
 
 
172
    if(strcmp(VERSION, cl_retver())) {
 
173
        logg("WARNING: Version mismatch (clamd: "VERSION", libclamav: %s)\n", cl_retver());
 
174
        logg("See the FAQ at http://www.clamav.net/faq.html\n");
 
175
    }
 
176
 
171
177
    if(logg_size)
172
178
        logg("Log file size limited to %d bytes.\n", logg_size);
173
179
    else