Lines Matching refs:errormsg
384 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()
514 const char *errormsg; in another() local
525 errormsg = NULL; in another()
526 nlen = get_line(stdin, line + len, sizeof(line)-len, &errormsg); in another()
528 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "operation"); in another()
1298 get_line(FILE *stream, char *buf, size_t buflen, const char **errormsg) in get_line() argument
1306 if (errormsg) in get_line()
1307 *errormsg = "\nEOF received"; in get_line()
1310 if (errormsg) in get_line()
1311 *errormsg = "Error encountered"; in get_line()
1322 if (errormsg) in get_line()
1323 *errormsg = "Input line is too long"; in get_line()
1327 if (errormsg) in get_line()
1328 *errormsg = NULL; in get_line()