diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-03-13 01:48:49 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-03-13 01:48:49 +0100 |
commit | a2b3551dfb9460470bd79f5648bf597c517c40d4 (patch) | |
tree | b82f50efbd76f581a281d61009811c1afabb0733 /src/main.c | |
parent | 3ead966f48bc47444d7ec72f46e94e73557695a5 (diff) | |
download | blogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.tar.gz blogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.tar.bz2 blogc-a2b3551dfb9460470bd79f5648bf597c517c40d4.zip |
*: use squareball error infrastructure
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -210,7 +210,7 @@ main(int argc, char **argv) goto cleanup; } - blogc_error_t *err = NULL; + sb_error_t *err = NULL; sb_slist_t *s = blogc_source_parse_from_files(config, sources, &err); if (err != NULL) { @@ -274,7 +274,7 @@ cleanup3: blogc_template_free_stmts(l); cleanup2: sb_slist_free_full(s, (sb_free_func_t) sb_trie_free); - blogc_error_free(err); + sb_error_free(err); cleanup: sb_trie_free(config); free(template); |