More param command related improvements

This commit is contained in:
Lorenz Meier
2014-01-12 18:52:10 +01:00
parent ab401da3e8
commit ea8ab2793a
3 changed files with 21 additions and 10 deletions
+3
View File
@@ -407,6 +407,9 @@ bson_encoder_fini(bson_encoder_t encoder)
memcpy(encoder->buf, &len, sizeof(len));
}
/* sync file */
fsync(encoder->fd);
return 0;
}