Home
last modified time | relevance | path

Searched refs:reply_string (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/usr.bin/ftp/
H A Dutil.c180 cp = strchr(reply_string + 4, ' '); in setpeer()
182 cp = strchr(reply_string + 4, '\r'); in setpeer()
190 fprintf(ttyout, "Remote system type is %s.\n", reply_string + 4); in setpeer()
194 if (!strncmp(reply_string, "215 UNIX Type: L8", 17)) { in setpeer()
422 *errbuf = reply_string; in remglob2()
583 cp = strchr(reply_string, ' '); in remotesize()
595 fputs(reply_string, ttyout); in remotesize()
628 char *timestr = reply_string; in remotemodtime()
642 sscanf(reply_string, "%*s %04d%02d%02d%02d%02d%02d", &yy, &mo, in remotemodtime()
658 fprintf(ttyout, "Can't convert %s to a time.\n", reply_string); in remotemodtime()
[all …]
H A Dextern.h139 extern char reply_string[];
H A Dftp.c434 char reply_string[BUFSIZ]; /* first line of previous reply */ variable
534 if (len > sizeof(reply_string)) in getreply()
535 len = sizeof(reply_string); in getreply()
537 (void)strlcpy(reply_string, current_line, len); in getreply()