From ffe74937d66cdea2a8e4c666b60ea171ca477231 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 16 Aug 2007 21:38:58 +0000 Subject: [PATCH] * some quotes here can't hurt. --- citadel/file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/file_ops.c b/citadel/file_ops.c index d32e9f829..30c65067b 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -211,7 +211,7 @@ void cmd_movf(char *cmdbuf) /* this is a crude method of copying the file description */ snprintf(buf, sizeof buf, - "cat ./files/%s/filedir |grep %s >>./files/%s/filedir", + "cat ./files/%s/filedir |grep \"%s\" >>./files/%s/filedir", CC->room.QRdirname, filename, qrbuf.QRdirname); system(buf); cprintf("%d File '%s' has been moved.\n", CIT_OK, filename); -- 2.30.2