summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2014-02-26 23:51:02 +0200
committerSergey Poznyakoff <gray@gnu.org>2014-02-26 23:51:02 +0200
commit1ec3df9a5798322d511d88100dd046a67b8cf38b (patch)
tree01fbb582a6f476e72e4dd041529f1afa2df415b7 /pop3d
parente8bc2682289c3e78dc29dd1ec833a654b6b03186 (diff)
downloadmailutils-1ec3df9a5798322d511d88100dd046a67b8cf38b.tar.gz
mailutils-1ec3df9a5798322d511d88100dd046a67b8cf38b.tar.bz2
Fix compilation without gnutls
* imap4d/imap4d.c [WITH_TLS] (cb_tls_required): Conditional compilation. * imap4d/imap4d.h [!WITH_TLS] (tls_encryption_on): Empty define. * pop3d/pop3d.c [!WITH_TLS] (tls_available): Empty define. * libmu_scm/mu_mailbox.c (mu_scm_mailbox_print): Fix format string.
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/pop3d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pop3d/pop3d.c b/pop3d/pop3d.c
index 7992da78c..a94ada6c7 100644
--- a/pop3d/pop3d.c
+++ b/pop3d/pop3d.c
@@ -42,6 +42,8 @@ enum tls_mode tls_mode;
#ifdef WITH_TLS
int tls_available;
int tls_done;
+#else
+# define tls_available 0
#endif /* WITH_TLS */
int initial_state = AUTHORIZATION;
@@ -172,7 +174,6 @@ cb_tls (void *data, mu_config_value_t *val)
mu_error (_("not a valid tls keyword: %s"), val->v.string);
return 0;
}
-#endif
static int
cb_tls_required (void *data, mu_config_value_t *val)
@@ -197,6 +198,7 @@ cb_tls_required (void *data, mu_config_value_t *val)
return 0;
}
+#endif
static struct mu_cfg_param pop3d_srv_param[] = {
#ifdef WITH_TLS

Return to:

Send suggestions and report system problems to the System administrator.