aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan T. Jacobsen <iantj92@gmail.com>2014-07-16 00:21:16 +0100
committerIan T. Jacobsen <iantj92@gmail.com>2014-07-16 00:21:16 +0100
commit4f1238af71d26346b31b1c9cee3d38a2ccf6bcca (patch)
tree590709cd46e5c90785b82fc6750aa8e2549c9a91
parent122a1e2af99280d9112c92c26040f6bccd29fec3 (diff)
downloadjansson-4f1238af71d26346b31b1c9cee3d38a2ccf6bcca.zip
jansson-4f1238af71d26346b31b1c9cee3d38a2ccf6bcca.tar.gz
jansson-4f1238af71d26346b31b1c9cee3d38a2ccf6bcca.tar.bz2
Fix whitespace issues
-rw-r--r--test/bin/json_process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bin/json_process.c b/test/bin/json_process.c
index 1d0afcc..bbb7da8 100644
--- a/test/bin/json_process.c
+++ b/test/bin/json_process.c
@@ -181,7 +181,7 @@ int use_conf(char *test_path)
if (conf.indent < 0 || conf.indent > 31) {
fprintf(stderr, "invalid value for JSON_INDENT: %d\n", conf.indent);
- fclose(infile);
+ fclose(infile);
return 2;
}
if (conf.indent)
@@ -202,7 +202,7 @@ int use_conf(char *test_path)
if (conf.precision < 0 || conf.precision > 31) {
fprintf(stderr, "invalid value for JSON_REAL_PRECISION: %d\n",
conf.precision);
- fclose(infile);
+ fclose(infile);
return 2;
}
if (conf.precision)
@@ -314,10 +314,10 @@ int use_env()
buf_ck = realloc(buffer, size);
if(!buf_ck) {
fprintf(stderr, "Unable to allocate %d bytes\n", (int)size);
- free(buffer);
+ free(buffer);
return 1;
}
- buffer = buf_ck;
+ buffer = buf_ck;
count = fread(buffer + used, 1, size - used, stdin);
if(count < size - used) {