Browse Source

Remove unnecessary comment from json_util.c

tags/json-c-0.11-20130402
Eric Haszlakiewicz 13 years ago
parent
commit
eead1a7dc4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_util.c

+ 1
- 1
json_util.c View File

@@ -71,7 +71,7 @@ struct json_object* json_object_from_file(const char *filename)
if((fd = open(filename, O_RDONLY)) < 0) { if((fd = open(filename, O_RDONLY)) < 0) {
MC_ERROR("json_object_from_file: error reading file %s: %s\n", MC_ERROR("json_object_from_file: error reading file %s: %s\n",
filename, strerror(errno)); filename, strerror(errno));
return NULL; // XAX this is an API change!
return NULL;
} }
if(!(pb = printbuf_new())) { if(!(pb = printbuf_new())) {
close(fd); close(fd);


Loading…
Cancel
Save