- hosts = ALLOC(block);
- hosts->b_type = NAME;
- hosts->b_name = args[i];
- hosts->b_name = args[i];
- hosts->b_next = hosts->b_args = NULL;
- if ((pos = index(hosts->b_name, ':')) != NULL) {
- *pos++ = '\0';
- strcpy(dest, pos);
- } else
- dest[0] = '\0';
-
- hosts = expand(hosts, 0);
+ cp = args[i];
+ if ((dest = index(cp, ':')) != NULL)
+ *dest++ = '\0';
+ tnl.n_name = cp;
+ hosts = expand(&tnl, E_ALL);
+ if (nerrs)
+ exit(1);