Lines Matching defs:port_str
586 char *port_str;
633 port_str = strrchr(server_spec, ':');
635 port_str = NULL;
638 if (port_str == NULL) {
641 *port_str = '\0';
642 ++port_str;
643 if (isdigit(*port_str)) {
645 port = strtol(port_str, &endptr, 10);
648 DEBUG(SSSDBG_CRIT_FAILURE, "strtol failed on [%s]: [%d][%s].\n", port_str,
654 "[%s].\n", endptr, port_str);
664 } else if (isalpha(*port_str)) {
665 servent = getservbyname(port_str, NULL);
668 port_str);