Fix an inconsistency between a printf-like format and its argument list.
Submitted by: kris MFC after: 3 days
This commit is contained in:
parent
90f28f9c3b
commit
a23f61bc28
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user