diff options
Diffstat (limited to 'src/lib/emailer.cc')
| -rw-r--r-- | src/lib/emailer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emailer.cc b/src/lib/emailer.cc index 5e645457d..71b29db1e 100644 --- a/src/lib/emailer.cc +++ b/src/lib/emailer.cc @@ -103,7 +103,7 @@ Emailer::send (string server, int port, string user, string password) 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()); - SafeStringStream email; + locked_stringstream email; email << "Date: " << date_buffer << "\r\n" << "To: " << address_list (_to) << "\r\n" |
