summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2013-02-24 17:08:30 -0800
committerJohn Denker <jsd@av8n.com>2013-02-24 17:08:30 -0800
commitfcf49eff655296c9f6c19bd262e343e69138ce67 (patch)
tree509326a987590bd73eea4538aaa1674900b76c0a /tools
parentee93a6480215a104be42aca282dcc658ea5ce510 (diff)
repair bit-rot associated with upgrade from lucid to precise
Diffstat (limited to 'tools')
-rw-r--r--tools/greylist.c2
-rw-r--r--tools/pop3.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/greylist.c b/tools/greylist.c
index aaa9510..86dcd1d 100644
--- a/tools/greylist.c
+++ b/tools/greylist.c
@@ -128,7 +128,7 @@ void scan(const string progid, const string p, const int copies=1){
if (is_directory(p)) {
for (directory_iterator itr(p); itr!=directory_iterator(); ++itr) {
- string basename = itr->path().filename();
+ string basename = itr->path().filename().string();
for (int ii = 0; ii < copies; ii++)
cout << setw(20) << left << basename << ' '; // display filename only
if (is_regular_file(itr->status())) {
diff --git a/tools/pop3.conf b/tools/pop3.conf
index b524a00..46b537e 100644
--- a/tools/pop3.conf
+++ b/tools/pop3.conf
@@ -1,3 +1,4 @@
# /etc/stunnel/pop3.conf
+cert = /etc/stunnel/stunnel.pem
exec = /var/qmail/bin/qmail-popup
execargs = qmail-popup 0 /var/qmail/rbin/checkpassword qmail-pop3d Maildir