Home
last modified time | relevance | path

Searched refs:errormsg (Results 1 – 5 of 5) sorted by relevance

/dragonfly/contrib/tnftp/src/
HDutil.c384 const char *errormsg; in ftp_login() local
417 errormsg = NULL; in ftp_login()
418 nlen = get_line(stdin, tmp, sizeof(tmp), &errormsg); in ftp_login()
420 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "login"); in ftp_login()
515 const char *errormsg; in another() local
526 errormsg = NULL; in another()
527 nlen = get_line(stdin, line + len, sizeof(line)-len, &errormsg); in another()
529 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "operation"); in another()
1323 get_line(FILE *stream, char *buf, size_t buflen, const char **errormsg) in get_line() argument
1331 if (errormsg) in get_line()
[all …]
HDssl.c553 const char **errormsg) in fetch_getline() argument
561 if (errormsg) in fetch_getline()
562 *errormsg = "\nEOF received"; in fetch_getline()
565 if (errormsg) in fetch_getline()
566 *errormsg = "Error encountered"; in fetch_getline()
581 if (errormsg) in fetch_getline()
582 *errormsg = "Input line is too long"; in fetch_getline()
586 if (errormsg) in fetch_getline()
587 *errormsg = NULL; in fetch_getline()
HDfetch.c270 const char *cp, *scheme, *errormsg; in auth_url() local
317 if (get_line(stdin, uuser, sizeof(uuser), &errormsg) < 0) { in auth_url()
318 warnx("%s; can't authenticate", errormsg); in auth_url()
906 const char *errormsg; in getresponseline() local
909 *len = fetch_getline(fin, buf, buflen, &errormsg); in getresponseline()
912 if (*errormsg == '\n') in getresponseline()
913 errormsg++; in getresponseline()
914 warnx("Receiving HTTP reply: %s", errormsg); in getresponseline()
HDcmds.c169 const char *errormsg; in confirm() local
185 if (get_line(stdin, cline, sizeof(cline), &errormsg) < 0) { in confirm()
187 fprintf(ttyout, "%s; %s aborted\n", errormsg, cmd); in confirm()
/dragonfly/contrib/cvs-1.12/src/
HDmkmodules.c40 char *errormsg; member
736 if (fileptr->errormsg == NULL) in mkmodules()