Add dynamic lookup support
[exim.git] / src / src / expand.c
index 7adf673afc01c1eb0b9883e912bd4c318baed0dd..702faabe82dc515eba4d593b019ddd1f056e7423 100644 (file)
@@ -5506,8 +5506,8 @@ while (*s != 0)
           goto EXPAND_FAILED;
           }
 
-        if (lookup_list[n].quote != NULL)
-          sub = (lookup_list[n].quote)(sub, opt);
+        if (lookup_list[n]->quote != NULL)
+          sub = (lookup_list[n]->quote)(sub, opt);
         else if (opt != NULL) sub = NULL;
 
         if (sub == NULL)