From b13b9064ff1511168f14376ff2ba3a33a099009a Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 1 Nov 1999 04:22:38 +0000 Subject: [PATCH] foo const git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index ad7b81b16..78200a59d 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -2092,7 +2092,7 @@ static char *onefile[] = { }; void -list_file(const char *file) +list_file(char *file) { if(use_builtin_ls) { FILE *dout; @@ -2107,9 +2107,9 @@ list_file(const char *file) pdata = -1; } else { #ifdef HAVE_LS_A - char *cmd = "/bin/ls -lA %s"; + const char *cmd = "/bin/ls -lA %s"; #else - char *cmd = "/bin/ls -la %s"; + const char *cmd = "/bin/ls -la %s"; #endif retrieve(cmd, file); }