aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/exim/local_scan.c
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-06-28 10:49:56 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-06-28 10:49:56 +0300
commit0f44e6037d66339931d89d0ca9b56529184cb2ec (patch)
tree21ee134384ab1b2624326d73b2b4bbf262cf41d9 /contrib/exim/local_scan.c
parente07bc348a141fa27d0d1eea7aba681a89488bdfa (diff)
downloadrspamd-0f44e6037d66339931d89d0ca9b56529184cb2ec.tar.gz
rspamd-0f44e6037d66339931d89d0ca9b56529184cb2ec.zip
[Refactor] Correct misspelled function name in Rspamd agent for Exim
Diffstat (limited to 'contrib/exim/local_scan.c')
-rw-r--r--contrib/exim/local_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/exim/local_scan.c b/contrib/exim/local_scan.c
index 522750144..1ac52f52a 100644
--- a/contrib/exim/local_scan.c
+++ b/contrib/exim/local_scan.c
@@ -175,7 +175,7 @@ int FakeSMTPCommand (socket_t sock,
}
-static int writen (socket_t fd, const char *vptr, int n)
+static int written (socket_t fd, const char *vptr, int n)
{
size_t nleft;
int nwritten;
@@ -263,7 +263,7 @@ static int SendEnvelope (char *sFile)
if (FakeSMTPCommand (sock, "\r\n", "", sFile, 1, 0) != _OK)
return ERR_WRITE;
- if (writen (sock, psBuf, bytesRead) != bytesRead)
+ if (written (sock, psBuf, bytesRead) != bytesRead)
return ERR_WRITE;
}
else