Expansion item ${listquote }. Bug 1066
[exim.git] / src / src / smtp_out.c
index 96ee152826ef504cbbf529cd35b3ae45afe1f388..7ea5a7c9a877682c133748875a0c93d49a57796e 100644 (file)
@@ -63,8 +63,8 @@ if (is_tainted(expint))
   return FALSE;
   }
 
-while (isspace(*expint)) expint++;
-if (*expint == 0) return TRUE;
+Uskip_whitespace(&expint);
+if (!*expint) return TRUE;
 
 while ((iface = string_nextinlist(&expint, &sep, big_buffer,
           big_buffer_size)))
@@ -500,7 +500,7 @@ else
     rc = n;
     }
   else
-
+    {
     rc = send(outblock->cctx->sock, outblock->buffer, n,
 #ifdef MSG_MORE
              more ? MSG_MORE : 0
@@ -508,6 +508,7 @@ else
              0
 #endif
             );
+    }
   }
 
 if (rc <= 0)