aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-21 19:45:51 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-21 19:45:51 -0300
commitd9755b37ca240cf1c088dfc9b209ea699fbcb7df (patch)
tree36ee2e6d20f45bc41459cc9075e453cf444144bd /src/error.c
parent42d0c90a19f558ceaef5a276cbad5686f49aa309 (diff)
downloadblogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.tar.gz
blogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.tar.bz2
blogc-d9755b37ca240cf1c088dfc9b209ea699fbcb7df.zip
source parse: improved, added tests
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index 8e19e6e..3850304 100644
--- a/src/error.c
+++ b/src/error.c
@@ -69,7 +69,7 @@ blogc_error_parser(blogc_error_type_t type, const char *src, size_t src_len,
rv = blogc_error_new(type, msg);
else
rv = blogc_error_new_printf(type,
- "%s\nError occurred near to \"%s\".", msg, line);
+ "%s\nError occurred near to '%s'", msg, line);
free(msg);
free(line);