X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.c;h=57ec13385f6c2725be4b5bb7a3d17faa10d024d8;hp=0946b6df3b0766f82f95f0cd100f039753543350;hb=1709cc8f8a54429441f8f83c38146e667133c727;hpb=f5cf47f2bc4bb76d0d21e2467c5846cade38558f diff --git a/afs.c b/afs.c index 0946b6df..57ec1338 100644 --- a/afs.c +++ b/afs.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -888,7 +889,7 @@ static int execute_server_command(fd_set *rfds) return ret; buf[n] = '\0'; if (strcmp(buf, "new")) - return -E_BAD_CMD; + return -ERRNO_TO_PARA_ERROR(EINVAL); return open_next_audio_file(); }