SRS: fix encode for local-part with zero-length quoted element. Bug 3087
[exim.git] / src / src / expand.c
index 5ea4dc6d42e7d2f4550565878d752c30c5cdd941..1d121756da4db75df3a8e4f9b1873d11576d46ed 100644 (file)
@@ -7117,7 +7117,7 @@ while (*s)
            gstring_release_unused(h);
            s = string_from_gstring(h);
            }
-         g = string_cat(g, s);
+         if (s) g = string_cat(g, s);
          }
 
        /* Assume that if the original local_part had quotes