Return to test_json.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libelwix / example |
version 1.1.2.7, 2017/11/28 14:57:45 | version 1.1.2.8, 2017/11/28 15:06:04 |
---|---|
Line 162 run_dump(json_t *json, char **args) | Line 162 run_dump(json_t *json, char **args) |
f = fopen(args[1], "r"); | f = fopen(args[1], "r"); |
if (!f) { | if (!f) { |
printf("fopen(%s) #%d - %s\n", *args, errno, strerror(errno)); | printf("fopen(%s) #%d - %s\n", *args, errno, strerror(errno)); |
return 1; | |
} | } |
toks = e_malloc(sizeof(jtok_t)); | toks = e_malloc(sizeof(jtok_t)); |