diff options
Diffstat (limited to 'contrib/exim/local_scan.c')
-rw-r--r-- | contrib/exim/local_scan.c | 4 |
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 |