aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-23 02:01:39 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-01-28 17:06:02 +0100
commite01115702ad73c32efdf11b97d84a81f59300e1d (patch)
treead59f6e47978e3873cc0f1229d6aaac5aae221e8 /src/common/error.c
parentab6e81997cf8c5bcf7d1778bb32d8e01425b13f1 (diff)
downloadblogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.gz
blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.bz2
blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.zip
common: thread-pool: initial work
Diffstat (limited to 'src/common/error.c')
-rw-r--r--src/common/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/error.c b/src/common/error.c
index 19f369c..38c7fdb 100644
--- a/src/common/error.c
+++ b/src/common/error.c
@@ -118,6 +118,9 @@ bc_error_print(bc_error_t *err, const char *prefix)
case BC_ERROR_FILE:
fprintf(stderr, "error: file: %s\n", err->msg);
break;
+ case BC_ERROR_THREADPOOL:
+ fprintf(stderr, "error: thread-pool: %s\n", err->msg);
+ break;
case BLOGC_ERROR_SOURCE_PARSER:
fprintf(stderr, "error: source: %s\n", err->msg);
break;