ATRN provider
[exim.git] / src / src / dns.c
index 45dc1574dc6b50feaf5ac8918e10b02508a0fe1e..df6618593fb43ab9d26ee3d9c78fdaa690cdf936 100644 (file)
@@ -1143,8 +1143,8 @@ not_good:
   if (!transport_name)
     s = event_action;
   else
-    for(transport_instance * tp = transports; tp; tp = tp->next)
-      if (Ustrcmp(tp->name, transport_name) == 0)
+    for(transport_instance * tp = transports; tp; tp = tp->drinst.next)
+      if (Ustrcmp(tp->drinst.name, transport_name) == 0)
        { s = tp->event_action; break; }
 
   if (s)