aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/renderer.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
commit0c7753ef37f875b288fc8c5d1c6a64fa61f4d149 (patch)
tree9f9b5d517f8bbba1b4f9eae3dc521cc7826692e0 /src/blogc/renderer.c
parent1c8174674d522a2c55b4f143f7e0dac848e34281 (diff)
downloadblogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.gz
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.bz2
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.zip
error: added prefix support to bc_error_print
Diffstat (limited to 'src/blogc/renderer.c')
-rw-r--r--src/blogc/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc/renderer.c b/src/blogc/renderer.c
index e0f1da6..b4d7a90 100644
--- a/src/blogc/renderer.c
+++ b/src/blogc/renderer.c
@@ -46,7 +46,7 @@ blogc_format_date(const char *date, bc_trie_t *global, bc_trie_t *local)
bc_error_t *err = NULL;
char *rv = blogc_convert_datetime(date, date_format, &err);
if (err != NULL) {
- bc_error_print(err);
+ bc_error_print(err, "blogc");
bc_error_free(err);
return bc_strdup(date);
}