Files
git/imap-send.c
Beat Bolli 6392a0b75d imap-send: move common code into function host_matches()
Move the ASN1_STRING access, the associated cast and the check for
embedded NUL bytes into host_matches() to simplify both callers.

Reformulate the NUL check using memchr() and add a comment to make it
more obvious what it is about.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-03-11 15:25:15 -07:00

45 KiB