View | Details | Raw Unified | Return to bug 209010
Collapse All | Expand All

(-)files/patch-readconf.c (+11 lines)
Line 0 Link Here
1
--- src/readconf.c.orig	2018-03-14 08:31:12 UTC
2
+++ src/readconf.c
3
@@ -4502,7 +4502,7 @@ for (i = config_lines; i; i = i->next)
4
   /* hidden lines (all MACROS or lines prefixed with "hide") */
5
   else if (  !admin
6
 	  && (  isupper(*current)
7
-	     || Ustrncmp(current, "hide", 4) == 0 && isspace(current[4])
8
+	     || (Ustrncmp(current, "hide", 4) == 0) && (isspace(current[4]))
9
 	     )
10
 	  )
11
     {
(-)files/patch-receive.c (+11 lines)
Line 0 Link Here
1
--- src/receive.c.orig	2018-03-14 08:24:54 UTC
2
+++ src/receive.c
3
@@ -1416,7 +1416,7 @@ if (rc == OK)
4
   struct dirent * entry;
5
   DIR * tempdir;
6
 
7
-  for (tempdir = opendir(CS scandir); entry = readdir(tempdir); )
8
+  for (tempdir = opendir(CS scandir); (entry = readdir(tempdir)); )
9
     if (strncmpic(US entry->d_name, US"__rfc822_", 9) == 0)
10
       {
11
       rfc822_file_path = string_sprintf("%s/%s", scandir, entry->d_name);
(-)files/patch-tls-openssl.c (+20 lines)
Line 0 Link Here
1
--- src/tls-openssl.c.orig	2018-03-14 08:33:02 UTC
2
+++ src/tls-openssl.c
3
@@ -1099,7 +1099,7 @@ else
4
       int sep = 0;
5
       uschar * file;
6
 
7
-      while (file = string_nextinlist(&file_list, &sep, NULL, 0))
8
+      while ((file = string_nextinlist(&file_list, &sep, NULL, 0)))
9
 	if ((err = tls_add_certfile(sctx, cbinfo, file, errstr)))
10
 	  return err;
11
       }
12
@@ -1122,7 +1122,7 @@ else
13
       int sep = 0;
14
       uschar * file;
15
 
16
-      while (file = string_nextinlist(&file_list, &sep, NULL, 0))
17
+      while ((file = string_nextinlist(&file_list, &sep, NULL, 0)))
18
 	if ((err = tls_add_pkeyfile(sctx, cbinfo, file, errstr)))
19
 	  return err;
20
       }
(-)files/patch-tls.c (+13 lines)
Line 0 Link Here
1
--- src/tls.c.orig	2018-02-25 20:26:22 UTC
2
+++ src/tls.c
3
@@ -275,8 +275,8 @@ dn_to_list(dn);
4
 insep = ',';
5
 len = match ? Ustrlen(match) : -1;
6
 while ((ele = string_nextinlist(CUSS &dn, &insep, NULL, 0)))
7
-  if (  !match
8
-     || Ustrncmp(ele, match, len) == 0 && ele[len] == '='
9
+  if (  (!match)
10
+     ||( Ustrncmp(ele, match, len == 0) && (ele[len] == '='))
11
      )
12
     list = string_append_listele(list, outsep, ele+len+1);
13
 return string_from_gstring(list);
(-)files/patch-verify.c (+11 lines)
Line 0 Link Here
1
--- src/verify.c.orig	2018-03-14 08:25:09 UTC
2
+++ src/verify.c
3
@@ -170,7 +170,7 @@ else
4
     *old_domain_res = cache_record->result;
5
 
6
     if (  cache_record->result == ccache_reject
7
-       || *from_address == 0 && cache_record->result == ccache_reject_mfnull)
8
+       || (*from_address == 0 ) && (cache_record->result == ccache_reject_mfnull))
9
       {
10
       setflag(addr, af_verify_nsfail);
11
       HDEBUG(D_verify)

Return to bug 209010