Skip to content

Commit 0be19d0

Browse files
alexeyvohanumantmk
authored andcommitted
Fix wrong fwrite arguments order in example
Closes #132
1 parent 8e5021f commit 0be19d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example-gridfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main (int argc, char *argv[])
6161
break;
6262
}
6363

64-
if (fwrite (iov.iov_base, r, 1, stdout) != r) {
64+
if (fwrite (iov.iov_base, 1, r, stdout) != r) {
6565
MONGOC_ERROR ("Failed to write to stdout. Exiting.\n");
6666
exit (1);
6767
}

0 commit comments

Comments
 (0)