Lines Matching refs:ip_end
971 char *ip_end = NULL; in ftp_state_use_port() local
983 ip_end = strchr(string_ftpport, ']'); in ftp_state_use_port()
984 if(ip_end) in ftp_state_use_port()
985 strncpy(addr, ip_start, ip_end - ip_start); in ftp_state_use_port()
991 ip_end = string_ftpport; in ftp_state_use_port()
994 ip_end = strchr(string_ftpport, ':'); in ftp_state_use_port()
995 if(ip_end) { in ftp_state_use_port()
1002 ip_end = NULL; /* this got no port ! */ in ftp_state_use_port()
1007 strncpy(addr, string_ftpport, ip_end - ip_start); in ftp_state_use_port()
1015 if(ip_end != NULL) { in ftp_state_use_port()
1016 port_start = strchr(ip_end, ':'); in ftp_state_use_port()