git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-send-email: Fix warning triggered by f6bebd12 when no encryption is set

From
Kevin Ballard <kevin@sb.org>
Date
Jun 26, 2008, 20:36 UTC
Message-ID
<1214512599-88902-1-git-send-email-kevin@sb.org>
In-Reply-To
<DF091369-1771-4405-8705-BDBC59C7E48A@sb.org>
---
 git-send-email.perl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-send-email.perl b/git-send-email.perl
index 60a6551..b93cd40 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -299,6 +299,8 @@ sub read_config {
 			$smtp_encryption = $enc;
 		} elsif (Git::config_bool(@repo, "$prefix.smtpssl")) {
 			$smtp_encryption = 'ssl';
+		} else {
+			$smtp_encryption = '';
 		}
 	}
 }
-- 
1.5.6.1.180.g7b731
Previous: Kevin BallardNext: Thomas Rast
Message 2 of 4 in “commit 'git-send-email: add support for TLS via Net::SMTP::SSL' causes warnings”
  1. Kevin BallardJun 26, 2008
  2. git-send-email: Fix warning triggered by f6bebd12 when no encryption is setKevin Ballard, Jun 26, 2008
  3. Thomas RastJun 26, 2008
  4. Thomas RastJun 26, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.