SRS: fix encode operation for empty sender addresses.
[exim.git] / src / src / parse.c
index f156865c833a811034bc884be82157434177a93f..bdba3ecd0cb0be2185485f2099de9184359d05dd 100644 (file)
@@ -658,7 +658,7 @@ followed by a route-addr (more words must follow). */
 
 if (*s != '@' && *s != '<')
   {
-  if (*s == 0 || *s == ';')
+  if (!*s || *s == ';')
     {
     if (!*t) FAILED(US"empty address");
     endptr = last_comment_position;