diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-21 19:45:51 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-21 19:45:51 -0300 |
commit | d9755b37ca240cf1c088dfc9b209ea699fbcb7df (patch) | |
tree | 36ee2e6d20f45bc41459cc9075e453cf444144bd /src/error.c | |
parent | 42d0c90a19f558ceaef5a276cbad5686f49aa309 (diff) | |
download | blogc-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.c | 2 |
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); |