From: Alexander Moisseev Date: Wed, 28 Jun 2017 07:49:56 +0000 (+0300) Subject: [Refactor] Correct misspelled function name in Rspamd agent for Exim X-Git-Tag: 1.6.2~55^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0f44e6037d66339931d89d0ca9b56529184cb2ec;p=rspamd.git [Refactor] Correct misspelled function name in Rspamd agent for Exim --- 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