aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-13 01:48:49 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-13 01:48:49 +0100
commita2b3551dfb9460470bd79f5648bf597c517c40d4 (patch)
treeb82f50efbd76f581a281d61009811c1afabb0733 /src/renderer.c
parent3ead966f48bc47444d7ec72f46e94e73557695a5 (diff)
downloadblogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.tar.gz
blogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.tar.bz2
blogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.zip
*: use squareball error infrastructure
Diffstat (limited to 'src/renderer.c')
-rw-r--r--src/renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer.c b/src/renderer.c
index a7a7dd7..eb58e0d 100644
--- a/src/renderer.c
+++ b/src/renderer.c
@@ -46,11 +46,11 @@ blogc_format_date(const char *date, sb_trie_t *global, sb_trie_t *local)
if (date_format == NULL)
return sb_strdup(date);
- blogc_error_t *err = NULL;
+ sb_error_t *err = NULL;
char *rv = blogc_convert_datetime(date, date_format, &err);
if (err != NULL) {
blogc_error_print(err);
- blogc_error_free(err);
+ sb_error_free(err);
return sb_strdup(date);
}
return rv;