Lines Matching defs:port_str
68 char host_str[MAX_LEN_LIST_ENTRY] = "", proto_str[PROTOCOL_STR_LEN + 1] = "", port_str[PORT_STR_LEN + 1] = "";
98 strncpy (port_str, pchr + 1, PORT_STR_LEN);
99 if (!strtol(port_str, NULL, 10)) /* Not a valid number */
100 port_str[0] = '\0';
102 port_str[0] = '\0';
106 port_str[0] = '\0';
115 if (port_str[0] == '\0')
116 sprintf (port_str, "%d", PORT_DEFAULT_KDC);
127 if (port_str[0] == '\0')
128 sprintf (port_str, "%d", PORT_DEFAULT_ADM);
139 if (port_str[0] == '\0')
140 sprintf (port_str, "%d", PORT_DEFAULT_PWD);
146 (strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1));
151 snprintf (host_list[j], strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1,
152 "%s#%s#%s", host_str, proto_str, port_str);