Lines Matching +defs:orig +defs:error +defs:port
91 char *port;
189 const char *p, *orig;
195 orig = p;
202 orig = *buf;
204 return orig;
232 ui->host = ui->port = ui->path = 0;
241 dui->port = ftp_strdup(sui->port);
251 FREEPTR(ui->port);
258 * Returns -1 if an error occurred, otherwise 0.
443 * <type>://[<user>[:<password>]@]<host>[:<port>][/<path>]
444 * Returns -1 if a parse error occurred, otherwise 0.
449 * malloc(3)ed strings of the relevant section, and port to
518 /* find [user[:pass]@]host[:port] */
582 /* look for [:port] */
589 warnx("Unknown port `%s' in %s `%s'",
600 ui->port = ftp_strdup(tport);
608 DPRINTF("%s: user `%s' pass `%s' host %s port %s(%d) "
611 STRorNULL(ui->host), STRorNULL(ui->port),
623 int error;
626 const char *port = ui->port;
639 error = getaddrinfo(host, port, &hints, &res0);
640 if (error) {
641 warnx("Can't LOOKUP `%s:%s': %s", host, port,
642 (error == EAI_SYSTEM) ? strerror(errno)
643 : gai_strerror(error));
1262 warnx("Unknown error retrieving file");
1360 warnx("Unknown error proxy " "connect");
1575 warnx("Can't connect to `%s:%s'", ui.host, ui.port);
1875 warnx("Improper response from `%s:%s'", ui.host, ui.port);
2058 DPRINTF("%s: user `%s' pass `%s' host %s port %s "
2061 STRorNULL(ui.host), STRorNULL(ui.port),
2083 if (ui.port) {
2084 xargv[2] = ui.port;
2096 ui.host, ui.port ? ui.port : "?");
2136 * error performing that command, bail out with a descriptive
2374 * If an error occurs the return value will be the offset+1 in
2423 * If an error occurs the return value will be the offset+1 in