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

Re: [PATCH] Don't force imap.host to be set when imap.tunnel is set

From
APAndy Parkins <andyparkins@gmail.com>
Date
Apr 22, 2008, 15:07 UTC
Message-ID
<fukuv0$aba$1@ger.gmane.org>
In-Reply-To
<20080422104146.GA11198@sigill.intra.peff.net>
Jeff King wrote:
Show 5 quoted lines
> I think Junio's point is that it's easy to start dereferencing NULL,
> because later parts of the code assume that "host" is always set, even
> if only to use it for informational purposes. So those callsites either
> need to be fixed to handle a NULL host, or perhaps something like this
> instead (totally untested):
Agreed.  Yours is a much better solution.
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Jeff King
Message 5 of 5 in “Don't force imap.host to be set when imap.tunnel is set”
  1. Don't force imap.host to be set when imap.tunnel is setAndy Parkins, Apr 21, 2008
  2. Junio C HamanoApr 22, 2008
  3. Andy ParkinsApr 22, 2008
  4. Jeff KingApr 22, 2008
  5. Andy ParkinsApr 22, 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.