mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
Merge branch 'master' into pu/mp
This commit is contained in:
@@ -16,6 +16,7 @@ AM_CPPFLAGS += \
|
||||
@SIGC_CFLAGS@ \
|
||||
@FREETYPE_CFLAGS@ \
|
||||
@AVFORMAT_CFLAGS@ \
|
||||
@LUA_CFLAGS@ \
|
||||
@HWLIB_CFLAGS@
|
||||
|
||||
noinst_LIBRARIES = libnhttpd_tuxboxapi.a
|
||||
|
@@ -794,7 +794,7 @@ std::string CNeutrinoYParser::func_unmount_get_list(CyhookHandler *, std::strin
|
||||
in >> ymount >> ylocal_dir >> yfstype;
|
||||
in.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
|
||||
yfstype = trim(yfstype);
|
||||
if( (yfstype == "nfs") << (yfstype == "ftp") || (yfstype == "lufsd") )
|
||||
if( (yfstype == "nfs") || (yfstype == "ftp") || (yfstype == "lufsd") )
|
||||
{
|
||||
mounts=ylocal_dir +" on "+ ymount + " ("+yfstype+")";
|
||||
ysel = ((j==0) ? "checked=\"checked\"" : "");
|
||||
|
@@ -283,7 +283,7 @@ std::string CyhookHandler::BuildHeader(bool cache) {
|
||||
case HTTP_MOVED_PERMANENTLY:
|
||||
// Status HTTP_*_TEMPORARILY (redirection)
|
||||
result += string_printf("Location: %s\r\n", NewURL.c_str());
|
||||
// NO break HERE !!!
|
||||
// fall through
|
||||
|
||||
default:
|
||||
time_t timer = time(0);
|
||||
|
Reference in New Issue
Block a user