]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
mysql_selector.c: Check return value of regcomp().
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index ffb3eedf2033a6c49681116b7fefae4cd9324af5..c0888aa0c4050f91b131279ad5c943a98b5a7acf 100644 (file)
--- a/error.h
+++ b/error.h
@@ -63,6 +63,7 @@ enum para_subsystem {
        SS_FILE_WRITE,
        SS_OSX_WRITE,
        SS_USER_LIST,
+       SS_CHUNK_QUEUE,
        NUM_SS
 };
 
@@ -295,8 +296,8 @@ extern const char **para_errlist[];
 
 
 #define HTTP_SEND_ERRORS \
-       PARA_ERROR(QUEUE, "packet queue overrun"), \
        PARA_ERROR(WRITE_OK, "can not check whether fd is writable"), \
+       PARA_ERROR(SEND_QUEUED_CHUNK, "failed to send queued chunk"), \
 
 
 #define RANDOM_SELECTOR_ERRORS \
@@ -421,6 +422,10 @@ extern const char **para_errlist[];
        PARA_ERROR(AAC_OVERRUN, "aac output buffer overrun"), \
 
 
+#define CHUNK_QUEUE_ERRORS \
+       PARA_ERROR(QUEUE, "packet queue overrun"), \
+
+
 /**
  * the subsystem shift
  *
@@ -549,6 +554,7 @@ SS_ENUM(CLIENT);
 SS_ENUM(CLIENT_COMMON);
 SS_ENUM(AUDIOC);
 SS_ENUM(USER_LIST);
+SS_ENUM(CHUNK_QUEUE);
 /** \endcond */
 #undef PARA_ERROR
 /* rest of the world only sees the error text */