summaryrefslogtreecommitdiff
path: root/src/lib/emailer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-27 18:42:07 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-27 18:42:07 +0000
commit18c3b488dff343a9b287d8d0fd68143b792ec75e (patch)
tree8beb9ca8400a68a8406b52737f90cafd4eafbc14 /src/lib/emailer.cc
parent2a02b09b9df160d6c83874d0ac2ae5f16bd50bb5 (diff)
Fix some stringstreams that had crept in.
Diffstat (limited to 'src/lib/emailer.cc')
-rw-r--r--src/lib/emailer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/emailer.cc b/src/lib/emailer.cc
index 50ced3340..b605d067d 100644
--- a/src/lib/emailer.cc
+++ b/src/lib/emailer.cc
@@ -30,7 +30,6 @@
#include "i18n.h"
using std::string;
-using std::stringstream;
using std::min;
using std::list;
using std::cout;
@@ -102,7 +101,7 @@ Emailer::send ()
boost::posix_time::time_duration offset = local_now - utc_now;
sprintf (date_buffer + strlen(date_buffer), "%s%02d%02d", (offset.hours() >= 0 ? "+" : "-"), abs (offset.hours()), offset.minutes());
- stringstream email;
+ SafeStringStream email;
email << "Date: " << date_buffer << "\r\n"
<< "To: " << address_list (_to) << "\r\n"