mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
neutrino: add timeout parameter for message via web api
based up patch by FlatTV
see also: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/10855-nachrichten-%C3%BCber-das-yweb-mit-variablem-timeout-senden/
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1782 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: c8e76315ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-28 (Fri, 28 Oct 2011)
Origin message was:
------------------
*neutrino: add timeout parameter for message via web api
based up patch by FlatTV
see also: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/10855-nachrichten-%C3%BCber-das-yweb-mit-variablem-timeout-senden/
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1782 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -546,6 +546,12 @@ void CControlAPI::MessageCGI(CyhookHandler *hh)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(hh->ParamList["timeout"].empty()))
|
||||
{
|
||||
message += "&timeout=";
|
||||
message += hh->ParamList["timeout"];
|
||||
}
|
||||
|
||||
if (event != 0)
|
||||
{
|
||||
message=decodeString(message);
|
||||
|
Reference in New Issue
Block a user