Fix an inconsistency between a printf-like format and its argument list.

Submitted by:	kris
MFC after:	3 days
This commit is contained in:
Yaroslav Tykhiy 2002-08-27 07:38:55 +00:00
parent 90f28f9c3b
commit a23f61bc28

View File

@ -2120,7 +2120,7 @@ statcmd(void)
char hname[NI_MAXHOST];
int ispassive;
lreply(211, "%s FTP server status:", hostname, version);
lreply(211, "%s FTP server status:", hostname);
printf(" %s\r\n", version);
printf(" Connected to %s", remotehost);
if (!getnameinfo((struct sockaddr *)&his_addr, his_addr.su_len,