summaryrefslogtreecommitdiff
path: root/src/tools/anopesmtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/anopesmtp.cpp')
-rw-r--r--src/tools/anopesmtp.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/anopesmtp.cpp b/src/tools/anopesmtp.cpp
index 7b974a398..dd7d1eef1 100644
--- a/src/tools/anopesmtp.cpp
+++ b/src/tools/anopesmtp.cpp
@@ -300,7 +300,7 @@ int smtp_send_email()
if (!smtp_send("HELO anope\r\n"))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
@@ -323,7 +323,7 @@ int smtp_send_email()
if (!smtp_send(buf))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
@@ -343,7 +343,7 @@ int smtp_send_email()
if (!smtp_send(buf))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
@@ -362,7 +362,7 @@ int smtp_send_email()
if (!smtp_send("DATA\r\n"))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
@@ -382,13 +382,13 @@ int smtp_send_email()
for (std::vector<std::string>::const_iterator it = smail.smtp_headers.begin(), it_end = smail.smtp_headers.end(); it != it_end; ++it)
if (!smtp_send(it->c_str()))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
if (!smtp_send("\r\n"))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
@@ -398,7 +398,7 @@ int smtp_send_email()
{
if (!smtp_send(it->c_str()))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}
}
@@ -407,7 +407,7 @@ int smtp_send_email()
if (!smtp_send("\r\n.\r\n"))
{
- alog("SMTP: error writting to socket");
+ alog("SMTP: error writing to socket");
return 0;
}