aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-12-21 03:55:00 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-12-21 03:55:00 +0100
commiteac073d479dfbe5ecf9c5fc7180f7b29da6d1298 (patch)
tree14db2b6f4c921e7c462b20d59a61fc2cf5446625 /src/common/error.c
parent62919eee3ef5fbad678034c21948abed523fa47e (diff)
downloadblogc-eac073d479dfbe5ecf9c5fc7180f7b29da6d1298.tar.gz
blogc-eac073d479dfbe5ecf9c5fc7180f7b29da6d1298.tar.bz2
blogc-eac073d479dfbe5ecf9c5fc7180f7b29da6d1298.zip
wip
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 4538c01..a3a08e7 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_THREAD:
+ fprintf(stderr, "error: thread: %s\n", err->msg);
+ break;
case BLOGC_ERROR_SOURCE_PARSER:
fprintf(stderr, "error: source: %s\n", err->msg);
break;