summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2011-09-10 16:48:28 (UTC)
committer Michael Krelin <hacker@klever.net>2011-09-10 16:48:28 (UTC)
commit7f16ae237b9f881a98719ea493ac75043336f17f (patch) (side-by-side diff)
tree7ccf3a0c764dbab4c778c7fc20a7a11b7e8ca26c
parent49b219a1b19f8d4ecf0fa4166f72e56bb5a84263 (diff)
downloadiii-7f16ae237b9f881a98719ea493ac75043336f17f.zip
iii-7f16ae237b9f881a98719ea493ac75043336f17f.tar.gz
iii-7f16ae237b9f881a98719ea493ac75043336f17f.tar.bz2
Add RW2 extension to the list
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefiservice.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eyefiservice.cc b/src/eyefiservice.cc
index 5167cf4..9350386 100644
--- a/src/eyefiservice.cc
+++ b/src/eyefiservice.cc
@@ -169,7 +169,7 @@ int eyefiService::UploadPhoto(
std::string::size_type fl = f.length();
if(fl<4) continue;
const char *s = f.c_str()+fl-4;
- static const char *suffixes[] = { ".JPG",".AVI",".MP4",".NEF",".RAW",".TIF",".DNG",".CRW" };
+ static const char *suffixes[] = { ".JPG",".AVI",".MP4",".NEF",".RAW",".TIF",".DNG",".CRW", ".RW2" };
if(std::find_if(suffixes,suffixes+sizeof(suffixes)/sizeof(*suffixes),
std::not1(std::bind1st(std::ptr_fun(strcasecmp),s)))
!= suffixes+sizeof(suffixes)/sizeof(*suffixes))