[exim-cvs] Compiler quietening. Bug 3107

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Compiler quietening. Bug 3107
Gitweb: https://git.exim.org/exim.git/commitdiff/362b27d24cd7bf9094b9b25ef4d55ba592ff2af7
Commit:     362b27d24cd7bf9094b9b25ef4d55ba592ff2af7
Parent:     a731c6050a1510734776851aaff5ad2f32fa3ae5
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Aug 5 19:42:45 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Aug 5 19:42:45 2024 +0100


    Compiler quietening.  Bug 3107
---
 src/src/tls-gnu.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index 25690aed2..2d6cdb351 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -2314,8 +2314,9 @@ old_pool = store_pool;
     if (*s) s++;        /* now on _ between groups */
     while ((c = *s))
       {
-      for (*++s && ++s; (c = *s) && c != ')'; s++)
-    g = string_catn(g, c == '-' ? US"_" : s, 1);
+      if (*++s)
+    for (++s; (c = *s) && c != ')'; s++)
+      g = string_catn(g, c == '-' ? US"_" : s, 1);
       /* now on ) closing group */
       if ((c = *s) && *++s == '-') g = string_catn(g, US"__", 2);
       /* now on _ between groups */


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/