summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-10-16 13:02:07 -0400
committerMathias Stearn <mathias@10gen.com>2009-10-16 13:57:03 -0400
commitd3961ff7facda4fb50a824de0846581b2dcf851e (patch)
treedeeab8ef2879cd2d900fd6e7e2825e9cee23d8af
parente401ac9c355d4c4bcfad47019e65cb8ee6f85cee (diff)
downloadmongo-d3961ff7facda4fb50a824de0846581b2dcf851e.tar.gz
default contentType for GridFS file from buffer. MINOR
-rw-r--r--client/gridfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gridfs.h b/client/gridfs.h
index 7949bbefa20..5018356660c 100644
--- a/client/gridfs.h
+++ b/client/gridfs.h
@@ -73,7 +73,7 @@ namespace mongo {
* (default is to omit)
* @return the file object
*/
- BSONObj storeFile( const char* data , size_t length , const string& remoteName , const string& contentType);
+ BSONObj storeFile( const char* data , size_t length , const string& remoteName , const string& contentType="");
/**
* removes file referenced by fileName from the db
* @param fileName filename (in GridFS) of the file to remove