]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Include error text of E_RECV_SYNTAX in para_audiod.
authorAndre Noll <maan@systemlinux.org>
Sun, 7 Oct 2007 19:07:53 +0000 (21:07 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 7 Oct 2007 19:07:53 +0000 (21:07 +0200)
audiod uses E_RECV_SYNTAX, which belonged to recv which is
not contained in audiod. Move it to recv_common instead.

error.h

diff --git a/error.h b/error.h
index 060268dbf04d07270e48cc12e07bde702535543b..5d61db212265fc48bff91e44c14f5d7e1f134f19 100644 (file)
--- a/error.h
+++ b/error.h
@@ -78,8 +78,7 @@ enum para_subsystem {
 #define ORTP_SEND_ERRORS
 #define GUI_ERRORS
 #define RINGBUFFER_ERRORS
-
-
+#define RECV_ERRORS
 
 extern const char **para_errlist[];
 /** \endcond */
@@ -165,11 +164,8 @@ extern const char **para_errlist[];
        PARA_ERROR(HTTP_RECV_OVERRUN, "http_recv: outout buffer overrun"), \
 
 
-#define RECV_ERRORS \
-       PARA_ERROR(RECV_SYNTAX, "recv syntax error"), \
-
-
 #define RECV_COMMON_ERRORS \
+       PARA_ERROR(RECV_SYNTAX, "recv syntax error"), \
 
 
 #define AUDIOD_ERRORS \