~ubuntu-branches/ubuntu/intrepid/clamav/intrepid-backports

« back to all changes in this revision

Viewing changes to clamd/session.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2009-11-05 23:14:14 UTC
  • mfrom: (0.3.4 jaunty-proposed)
  • Revision ID: james.westby@ubuntu.com-20091105231414-qm9ppy5rowfqhseq
Tags: 0.95.3+dfsg-1ubuntu0.09.04~intrepid1
* Source backport for Intrepid from jaunty-proposed (LP: #473707)
  - Drop build-dep on libtommath-dev and use internal copy

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
        flags |= CLI_FTW_FOLLOW_DIR_SYMLINK;
317
317
    if (optget(opts, "FollowFileSymlinks")->enabled)
318
318
        flags |= CLI_FTW_FOLLOW_FILE_SYMLINK;
319
 
    ret = cli_ftw(conn->filename, flags,  maxdirrec ? maxdirrec : INT_MAX, scan_callback, &data);
 
319
    ret = cli_ftw(conn->filename, flags,  maxdirrec ? maxdirrec : INT_MAX, scan_callback, &data, scan_pathchk);
320
320
    if (ret == CL_EMEM)
321
321
        if(optget(opts, "ExitOnOOM")->enabled)
322
322
            return -1;