From 0f44e6037d66339931d89d0ca9b56529184cb2ec Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 28 Jun 2017 10:49:56 +0300 Subject: [PATCH] [Refactor] Correct misspelled function name in Rspamd agent for Exim --- contrib/exim/local_scan.c | 4 ++-- 1 file 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 -- 2.39.5