summaryrefslogtreecommitdiffstats
path: root/imap/imaplogin.c
diff options
context:
space:
mode:
authorSam Varshavchik2018-07-14 22:29:39 -0400
committerSam Varshavchik2018-07-16 21:20:25 -0400
commit60a63d31b29fea54441fa72e59d5712ca31eb01e (patch)
treef5d2d712e79c10c52685310a7b38c67d68b14547 /imap/imaplogin.c
parent2ad535262c59ff73743547594dc6c152d195d07c (diff)
downloadcourier-libs-60a63d31b29fea54441fa72e59d5712ca31eb01e.tar.bz2
courier-imap: enforce UTF8-correctness as per RFC-6855.
Diffstat (limited to 'imap/imaplogin.c')
-rw-r--r--imap/imaplogin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/imap/imaplogin.c b/imap/imaplogin.c
index a445a35..8e2f9c9 100644
--- a/imap/imaplogin.c
+++ b/imap/imaplogin.c
@@ -37,7 +37,7 @@
#include "tcpd/spipe.h"
#include "numlib/numlib.h"
#include "tcpd/tlsclient.h"
-
+#include "imapd.h"
FILE *debugfile=0;
extern void initcapability();
@@ -47,6 +47,7 @@ extern int have_starttls();
extern int tlsrequired();
extern int authenticate(const char *, char *, int);
unsigned long header_count=0, body_count=0; /* Dummies */
+int enabled_utf8=0;
extern unsigned long bytes_received_count; /* counter for received bytes (imaptoken.c) */
extern unsigned long bytes_sent_count; /* counter for sent bytes (imapwrite.c) */