From b7b18f47682bf1e09f7ca04bb979f460f227886b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Sun, 23 Oct 2022 09:21:30 +0200 Subject: [PATCH] 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. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2