[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated
From: |
David Levine |
Subject: |
[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. f77270883363b2407ba4588e20ab697535d45c50 |
Date: |
Sat, 14 Jan 2012 21:05:04 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".
The branch, master has been updated
via f77270883363b2407ba4588e20ab697535d45c50 (commit)
from 6759bfb47d471fdec468157cdf89d4d4e5d1ca78 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=f77270883363b2407ba4588e20ab697535d45c50
commit f77270883363b2407ba4588e20ab697535d45c50
Author: David Levine <address@hidden>
Date: Sat Jan 14 15:04:54 2012 -0600
Cleaned up gcc warnings when CYRUS_SASL is not enabled.
diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c
index df1dbbf..ee98dce 100644
--- a/mts/smtp/smtp.c
+++ b/mts/smtp/smtp.c
@@ -70,7 +70,9 @@
#define SM_DOT 600 /* see above */
#define SM_QUIT 30
#define SM_CLOS 10
+#ifdef CYRUS_SASL
#define SM_AUTH 45
+#endif /* CYRUS_SASL */
static int sm_addrs = 0;
static int sm_alarmed = 0;
@@ -194,6 +196,10 @@ smtp_init (char *client, char *server, char *port, int
watch, int verbose,
{
#ifdef CYRUS_SASL
char *server_mechs;
+#else /* CYRUS_SASL */
+ NMH_UNUSED (sasl);
+ NMH_UNUSED (saslmech);
+ NMH_UNUSED (user);
#endif /* CYRUS_SASL */
int result, sd1, sd2;
@@ -447,6 +453,11 @@ sendmail_init (char *client, char *server, int watch, int
verbose,
{
#ifdef CYRUS_SASL
char *server_mechs;
+#else /* CYRUS_SASL */
+ NMH_UNUSED (server);
+ NMH_UNUSED (sasl);
+ NMH_UNUSED (saslmech);
+ NMH_UNUSED (user);
#endif /* CYRUS_SASL */
unsigned int i, result, vecp;
int pdi[2], pdo[2];
-----------------------------------------------------------------------
Summary of changes:
mts/smtp/smtp.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
hooks/post-receive
--
The nmh Mail Handling System
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. f77270883363b2407ba4588e20ab697535d45c50,
David Levine <=