loghost_parse
if (loghost_parse(++p, &proto, &host, &port) == -1) {
int loghost_parse(char *, char **, char **, char **);
if (loghost_parse(p, NULL, *host + *num, *port + *num) == -1)