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  314cc2b7c5640f2685a119a90bb92f1e41e6c618 (commit)
      from  58e2db8c886765caf1ce294ba8336fe683bcd888 (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=314cc2b7c5640f2685a119a90bb92f1e41e6c618


commit 314cc2b7c5640f2685a119a90bb92f1e41e6c618
Author: David Levine <[email protected]>
Date:   Mon Feb 27 20:56:58 2012 -0600

    Added cast in conditional to prevent signed/unsigned comparison, and 
wrapped argument to prevent warning about unused argument when built without 
SASL support.

diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c
index 620dabc..97dd398 100644
--- a/mts/smtp/smtp.c
+++ b/mts/smtp/smtp.c
@@ -200,6 +200,7 @@ smtp_init (char *client, char *server, char *port, int 
watch, int verbose,
     char *server_mechs;
 #else  /* CYRUS_SASL */
     NMH_UNUSED (sasl);
+    NMH_UNUSED (saslssf);
     NMH_UNUSED (saslmech);
     NMH_UNUSED (user);
 #endif /* CYRUS_SASL */
@@ -956,7 +957,8 @@ sm_auth_sasl(char *user, int saslssf, char *mechlist, char 
*inhost)
 
     memset(&secprops, 0, sizeof(secprops));
     secprops.maxbufsize = SASL_MAXRECVBUF;
-    secprops.max_ssf = tls_active ? 0 : (saslssf != -1 ? saslssf : UINT_MAX);
+    secprops.max_ssf =
+      tls_active ? 0 : (saslssf != -1 ? (unsigned int) saslssf : UINT_MAX);
 
     result = sasl_setprop(conn, SASL_SEC_PROPS, &secprops);
 

-----------------------------------------------------------------------

Summary of changes:
 mts/smtp/smtp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The nmh Mail Handling System

_______________________________________________
Nmh-commits mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-commits

Reply via email to