This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gridfs.c b/src/gridfs.c | |
index f51b397..66f8d88 100644 | |
--- a/src/gridfs.c | |
+++ b/src/gridfs.c | |
@@ -43,7 +43,7 @@ int gridfs_init( mongo *client, const char *dbname, const char *prefix, | |
int options; | |
bson b; | |
- bson_bool_t success; | |
+ bson_bool_t success = 1; |