diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/transport.c b/src/src/transport.c index d222adce8..3648bfc82 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1068,7 +1068,7 @@ if (dkim_private_key && dkim_domain && dkim_selector) uschar *dkim_strict_result = expand_string(dkim_strict); if (dkim_strict_result) if ( (strcmpic(dkim_strict,US"1") == 0) || - (strcmpic(dkim_strict,US"true") == 0) ) + (strcmpic(dkim_strict,US"true") == 0) ) { /* Set errno to something halfway meaningful */ save_errno = EACCES; @@ -1104,8 +1104,8 @@ if (dkim_private_key && dkim_domain && dkim_selector) } } - /* Fetch file positition (the size) */ - size = lseek(dkim_fd,0,SEEK_CUR); +/* Fetch file size */ +size = lseek(dkim_fd, 0, SEEK_END); /* Rewind file */ lseek(dkim_fd, 0, SEEK_SET); |