aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 01:28:43 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 01:28:43 -0200
commit0fe9ed29207c428deda6c960c81359113f1d3384 (patch)
treee924ab90fb3449eb64155edb07877819556e1e67 /src/content-parser.c
parent56736b7b39218c10efd64f305f7a35df9d4bc0af (diff)
downloadblogc-0fe9ed29207c428deda6c960c81359113f1d3384.tar.gz
blogc-0fe9ed29207c428deda6c960c81359113f1d3384.tar.bz2
blogc-0fe9ed29207c428deda6c960c81359113f1d3384.zip
Revert "content-parser: handle errors (that are handler as warnings) in directives"
This reverts commit 56736b7b39218c10efd64f305f7a35df9d4bc0af.
Diffstat (limited to 'src/content-parser.c')
-rw-r--r--src/content-parser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index a9ab9af..042f308 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -1114,11 +1114,8 @@ hr:
case CONTENT_DIRECTIVE_PARAM_END:
param_end:
if (c == '\n' || c == '\r' || is_last) {
- // FIXME: handle errors in the rest of the parser.
- blogc_error_t *err = NULL;
char *rv_d = blogc_directive_loader(directive_name,
- directive_argument, directive_params, &err);
- blogc_error_print(err);
+ directive_argument, directive_params);
if (rv_d != NULL)
b_string_append(rv, rv_d);
free(rv_d);