From 8b13e2905d585f4b355076477149715f628341b4 Mon Sep 17 00:00:00 2001 From: Michael Whittaker Date: Fri, 11 Jul 2014 07:58:02 -0700 Subject: [PATCH] Fixed typo in json-to-bson documentation. Some comments in json-to-bson.c were the same as in bson-to-json.c. Some BSON and JSON's needed to be switched. --- examples/json-to-bson.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/json-to-bson.c b/examples/json-to-bson.c index 58b8cf09..3b693801 100644 --- a/examples/json-to-bson.c +++ b/examples/json-to-bson.c @@ -16,8 +16,8 @@ /* - * This program will print each BSON document contained in the provided files - * as a JSON string to STDOUT. + * This program will print each JSON document contained in the provided files + * as a BSON string to STDOUT. */ @@ -65,7 +65,7 @@ main (int argc, } /* - * Convert each incoming document to JSON and print to stdout. + * Convert each incoming document to BSON and print to stdout. */ while ((b = bson_json_reader_read (reader, &doc, &error))) { if (b < 0) {