/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2018-02-22 18:50:12 UTC
  • Revision ID: teddy@recompile.se-20180222185012-etchk537ast7s1xg
Tags: version-1.7.19-1
* Makefile (version): Change to 1.7.19.
* NEWS (Version 1.7.19): Add new entry.
* debian/changelog (1.7.19-1): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
613
613
        }
614
614
        params.size += (unsigned int)bytes_read;
615
615
      }
616
 
      close(dhpfile);
 
616
      ret = close(dhpfile);
 
617
      if(ret == -1){
 
618
        perror_plus("close");
 
619
      }
617
620
      if(params.data == NULL){
618
621
        dhparamsfilename = NULL;
619
622
      }
1656
1659
      perror_plus("ioctl SIOCGIFFLAGS");
1657
1660
      errno = old_errno;
1658
1661
    }
1659
 
    close(s);
 
1662
    if((close(s) == -1) and debug){
 
1663
      old_errno = errno;
 
1664
      perror_plus("close");
 
1665
      errno = old_errno;
 
1666
    }
1660
1667
    return false;
1661
1668
  }
1662
 
  close(s);
 
1669
  if((close(s) == -1) and debug){
 
1670
    old_errno = errno;
 
1671
    perror_plus("close");
 
1672
    errno = old_errno;
 
1673
  }
1663
1674
  return true;
1664
1675
}
1665
1676