Permalink
Browse files

CDRIVER-106 minor doc fixes

  • Loading branch information...
1 parent af7ee5b commit 2bb9278d8ab44a2dcd458b60789281f4b980e8b8 @banker banker committed Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/source/sphinx/source/tutorial.rst
@@ -249,12 +249,12 @@ whose age is 24:
bson_finish( query );
mongo_cursor_init( cursor, conn, "tutorial.persons" );
- mongo_cursor_set_query( cursor, query )
+ mongo_cursor_set_query( cursor, query );
while( mongo_cursor_next( cursor ) == MONGO_OK ) {
bson_iterator iterator[1];
if ( bson_find( iterator, mongo_cursor_bson( cursor ), "name" )) {
- printf( "name: %s\n", bson_iterator_string( it ) );
+ printf( "name: %s\n", bson_iterator_string( iterator ) );
}
}

0 comments on commit 2bb9278

Please sign in to comment.