diff options
author | John Denker <jsd@av8n.com> | 2013-02-24 17:08:30 -0800 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2013-02-24 17:08:30 -0800 |
commit | fcf49eff655296c9f6c19bd262e343e69138ce67 (patch) | |
tree | 509326a987590bd73eea4538aaa1674900b76c0a /tools/greylist.c | |
parent | ee93a6480215a104be42aca282dcc658ea5ce510 (diff) |
repair bit-rot associated with upgrade from lucid to precise
Diffstat (limited to 'tools/greylist.c')
-rw-r--r-- | tools/greylist.c | 2 |
1 files changed, 1 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())) { |