Repair manualroute transport name not-last option
[exim.git] / src / src / routers / manualroute.c
index 95c69328d664cc8e4f1166e28429536d344d3bd0..31185e160d4babdeb364370a84866e236611d111 100644 (file)
@@ -333,7 +333,7 @@ while (*options != 0)
     {
     transport_instance *t;
     for (t = transports; t != NULL; t = t->next)
-      if (Ustrcmp(t->name, s) == 0)
+      if (Ustrncmp(t->name, s, n) == 0)
         {
         transport = t;
         individual_transport_set = TRUE;