Lines Matching refs:ip_end
950 char *ip_end = NULL; in ftp_state_use_port() local
962 ip_end = strchr(string_ftpport, ']'); in ftp_state_use_port()
963 if(ip_end) in ftp_state_use_port()
964 strncpy(addr, ip_start, ip_end - ip_start); in ftp_state_use_port()
970 ip_end = string_ftpport; in ftp_state_use_port()
973 ip_end = strchr(string_ftpport, ':'); in ftp_state_use_port()
974 if(ip_end) { in ftp_state_use_port()
981 ip_end = NULL; /* this got no port ! */ in ftp_state_use_port()
986 strncpy(addr, string_ftpport, ip_end - ip_start); in ftp_state_use_port()
994 if(ip_end != NULL) { in ftp_state_use_port()
995 port_start = strchr(ip_end, ':'); in ftp_state_use_port()