mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
overload access(2)
Conflicts: src/driver/pictureviewer/pictureviewer.cpp src/gui/components/cc_item_picture.cpp src/gui/movieplayer.cpp src/gui/osdlang_setup.cpp src/neutrino.cpp src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp src/nhttpd/yhttpd.cpp src/system/helpers.h src/system/setting_helpers.cpp
This commit is contained in:
@@ -1307,7 +1307,7 @@ std::string CMovieBrowser::getScreenshotName(std::string movie)
|
||||
ext = *it;
|
||||
ret.replace(found, ext.length(), ext);
|
||||
++it;
|
||||
if (!access(ret.c_str(), F_OK))
|
||||
if (!access(ret, F_OK))
|
||||
return ret;
|
||||
}
|
||||
return "";
|
||||
|
Reference in New Issue
Block a user