From db0d7536fd2edfd506acc36428ccf2a48fa246f2 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 27 Jan 2007 16:09:35 +0100 Subject: [PATCH] vss_status_tohuman(): change permission status flags d (dbtool) -> a (audio file selector) a (audio file sender) -> v (virtual streaming system) --- command.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/command.c b/command.c index 77908bf0..8c791ae7 100644 --- a/command.c +++ b/command.c @@ -74,12 +74,12 @@ static char *vss_status_tohuman(unsigned int flags) */ char *cmd_perms_itohuman(unsigned int perms) { - char *msg = para_malloc(7 * sizeof(char)); + char *msg = para_malloc(5 * sizeof(char)); - msg[0] = perms & DB_READ? 'd' : '-'; - msg[1] = perms & DB_WRITE? 'D' : '-'; - msg[2] = perms & VSS_READ? 'a' : '-'; - msg[3] = perms & VSS_WRITE? 'A' : '-'; + msg[0] = perms & DB_READ? 'a' : '-'; + msg[1] = perms & DB_WRITE? 'A' : '-'; + msg[2] = perms & VSS_READ? 'v' : '-'; + msg[3] = perms & VSS_WRITE? 'V' : '-'; msg[4] = '\0'; return msg; } -- 2.39.5