]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 b07020a7cfd5d72aadfa9559e44ff323683251b9..d1036d1d60886c00705e6690239949a50cad2cb1 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 c7c9aeba64c4a8ef25d0fb96b748bec375e527f0..f15d0dc6848b6c663c46aa7b37b923c98cc833a6 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"), \