From 16efc72e25ce23ad0978ef49794b97ad35f08b74 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 23 Jun 2000 14:39:23 +0000 Subject: Get rid of segfault in a `site %s' case. Submitted by: Max Khon --- usr.bin/ftp/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/ftp') 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; } -- cgit v1.1