Return to cmds.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.28, 1998/06/08 19:48:56 | version 1.29, 1998/09/01 17:08:22 | ||
---|---|---|---|
|
|
||
/* Make double (tripple?) sure the sucker is NUL terminated */ | /* Make double (tripple?) sure the sucker is NUL terminated */ | ||
buf[sizeof(buf) - 1] = '\0'; | buf[sizeof(buf) - 1] = '\0'; | ||
if (command(buf) == PRELIM) { | if (command("%s", buf) == PRELIM) { | ||
while (getreply(0) == PRELIM) | while (getreply(0) == PRELIM) | ||
continue; | continue; | ||
} | } |