diff options
author | ru <ru@FreeBSD.org> | 2000-06-23 14:39:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-06-23 14:39:23 +0000 |
commit | 16efc72e25ce23ad0978ef49794b97ad35f08b74 (patch) | |
tree | 203f78d7cc6542440266d6a1911677a4e7aee7d3 | |
parent | 0b74e561b2f945cb85409f180e1e43164c2b02b1 (diff) | |
download | FreeBSD-src-16efc72e25ce23ad0978ef49794b97ad35f08b74.zip FreeBSD-src-16efc72e25ce23ad0978ef49794b97ad35f08b74.tar.gz |
Get rid of segfault in a `site %s' case.
Submitted by: Max Khon <fjoe@iclub.nsu.ru>
-rw-r--r-- | usr.bin/ftp/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index acc3c6b..9da2a84 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1461,7 +1461,7 @@ quote1(initial, argc, argv) len += len1; } } - if (command(buf) == PRELIM) { + if (command("%s", buf) == PRELIM) { while (getreply(0) == PRELIM) continue; } |