Rename E_BAD_DBTOOL to E_BAD_SELECTOR
authorAndre <maan@p133.(none)>
Fri, 10 Mar 2006 20:13:49 +0000 (21:13 +0100)
committerAndre <maan@p133.(none)>
Fri, 10 Mar 2006 20:13:49 +0000 (21:13 +0100)
command.c
error.h

index b07020a..d1036d1 100644 (file)
--- a/command.c
+++ b/command.c
@@ -870,7 +870,7 @@ static int com_chs(int fd, int argc, char **argv)
                mmd_unlock();
                return 1;
        }
-       return -E_BAD_DBTOOL;
+       return -E_BAD_SELECTOR;
 }
 
 /* next */
diff --git a/error.h b/error.h
index c7c9aeb..f15d0dc 100644 (file)
--- a/error.h
+++ b/error.h
@@ -216,7 +216,7 @@ extern const char **para_errlist[];
 #define COMMAND_ERRORS \
        PARA_ERROR(COMMAND_SYNTAX, "syntax error in command"), \
        PARA_ERROR(AUTH, "did not receive auth request"), \
-       PARA_ERROR(BAD_DBTOOL, "no such database tool"), \
+       PARA_ERROR(BAD_SELECTOR, "no such audio file selector"), \
        PARA_ERROR(NO_AUDIO_FILE, "no audio file"), \
        PARA_ERROR(BAD_CMD, "invalid command"), \
        PARA_ERROR(PERM, "permission denied"), \