From: Gerd Möllmann Date: Sun, 23 Oct 2022 07:21:30 +0000 (+0200) Subject: Fix error opening Gnus gmail imap connection X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7b18f47682bf1e09f7ca04bb979f460f227886b;p=emacs.git Fix error opening Gnus gmail imap connection The error is caused by comparing names of (possibly) keyword symbols with a table of symbols names containing ":" for symbol names. * src/process.c (set_socket_option): Use LISP_SYMBOL_NAME. --- diff --git a/src/process.c b/src/process.c index 358899cdede..04b466d5084 100644 --- a/src/process.c +++ b/src/process.c @@ -2859,7 +2859,7 @@ set_socket_option (int s, Lisp_Object opt, Lisp_Object val) CHECK_SYMBOL (opt); - name = SSDATA (SYMBOL_NAME (opt)); + name = SSDATA (LISP_SYMBOL_NAME (opt)); for (sopt = socket_options; sopt->name; sopt++) if (strcmp (name, sopt->name) == 0) break;