]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/expand.c
Fix default-port TLSA lookup done by callout. Bug 1602
[user/henk/code/exim.git] / src / src / expand.c
index 145b827dc5c157e128904aba4d05fc6c93134b9a..8a7a27e8a89a871e378e2d33f8ac7196eaab4eed 100644 (file)
@@ -5501,7 +5501,7 @@ while (*s != 0)
         while (isspace(*s)) s++;
         if (*s++ != '{') goto EXPAND_FAILED_CURLY;
         t = expand_string_internal(s, TRUE, &s, skipping, TRUE, &resetok);
-        if (temp == NULL) goto EXPAND_FAILED;
+        if (!t) goto EXPAND_FAILED;
         lookup_value = t;
         if (*s++ != '}') goto EXPAND_FAILED_CURLY;
         }