base[0] = '\0';
if (sscanf (arg, "%100[^/]/%100s", type_and_host, base) < 1)
return 0;
if (strncmp (type_and_host, "tcp:", 4) == 0)
host = type_and_host + 4;
base[0] = '\0';
if (sscanf (arg, "%100[^/]/%100s", type_and_host, base) < 1)
return 0;
if (strncmp (type_and_host, "tcp:", 4) == 0)
host = type_and_host + 4;