Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #78 from mwhittaker/example-typo
Browse files Browse the repository at this point in the history
Fixed typo in json-to-bson documentation.
  • Loading branch information
chergert committed Jul 13, 2014
2 parents f5a84ce + 8b13e29 commit 6b28795
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/json-to-bson.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/


Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 6b28795

Please sign in to comment.