From 1be3bb654a722e4ecc771ee20a63d85cae5845ed Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 6 Aug 2009 20:33:25 +0000 Subject: [PATCH] * Clarify confusing error message reported in bug #476. --- citadel/room_ops.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/citadel/room_ops.c b/citadel/room_ops.c index a4e6a82db..0e4eed746 100644 --- a/citadel/room_ops.c +++ b/citadel/room_ops.c @@ -1172,8 +1172,11 @@ void cmd_rdir(char *cmdbuf) stat(buf, &statbuf); /* stat the file */ if (!(statbuf.st_mode & S_IFREG)) { - snprintf(buf2, sizeof buf2, "Command RDIR found something that is not a useable file. It should be cleaned up.\n RDIR found this non regular file:\n%s\n", buf); - aide_message(buf2, "RDIR found bad file"); + snprintf(buf2, sizeof buf2, + "\"%s\" appears in the file directory for room \"%s\" but is not a regular file. Directories, named pipes, sockets, etc. are not usable in Citadel room directories.\n", + buf, CC->room.QRname + ); + aide_message(buf2, "Unusable data found in room directory"); continue; /* not a useable file type so don't show it */ } safestrncpy(comment, "", sizeof comment); -- 2.30.2