~ubuntu-branches/ubuntu/utopic/clamav/utopic-updates

« back to all changes in this revision

Viewing changes to clamd/server-th.c

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-04-25 15:01:05 UTC
  • mfrom: (0.35.41 sid)
  • Revision ID: package-import@ubuntu.com-20140425150105-n4wqi1w9yjgktgfb
Tags: 0.98.1+dfsg-5ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1008
1008
        if((fd = fopen(opt->strarg, "w")) == NULL) {
1009
1009
            logg("!Can't save PID in file %s\n", opt->strarg);
1010
1010
        } else {
1011
 
            if (fprintf(fd, "%u", (unsigned int) mainpid)<0) {
 
1011
            if (fprintf(fd, "%u\n", (unsigned int) mainpid)<0) {
1012
1012
                logg("!Can't save PID in file %s\n", opt->strarg);
1013
1013
            }
1014
1014
            fclose(fd);