wrong use of value

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8022 4b0bc96b-bc66-0410-9d44-ebda105a78c1
WebIf: If a NULL value is added via tpl_AddVar, it is now correctly allocated to an empty string (important for loops). Changed internal memory allocation in urlencode and xml_encode functions.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8023 4b0bc96b-bc66-0410-9d44-ebda105a78c1
WebIf: Make sure that we output extended info like channel name on the status page only for readers and clients and not for management threads.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8024 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Happy new year 2013! + a small fix to prevent concurrent config initializations through multiple SIGHUPs.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8025 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Doublecheck: Fix for two clients watching same channel (#2645). We now only see real FOUNDs as valid for the double check calculation because previously, the ecms distributed from ecmcache would try to double check again (but no answers will be coming anymore resulting in timeout).

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8026 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- Remove of cs_sleep -> did not solve resync issues


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8027 4b0bc96b-bc66-0410-9d44-ebda105a78c1
- Increase of receive size from always 1 at the time to all chars at once
  (In order to reduce overhead and possible speedup of ecm answers)


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8028 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fixed a typo in commit 8028


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8029 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fix typo in build readme.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8030 4b0bc96b-bc66-0410-9d44-ebda105a78c1
DVBAPI: tryfix by blaky
http://www.streamboard.tv/wbb2/thread.php?threadid=36605

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8031 4b0bc96b-bc66-0410-9d44-ebda105a78c1
DVBAPI: patch by blaky
create ecm.info also on cachehits



git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8032 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove device_out_endpoint from config. Instead, you can now specify the reader type in front of the device string separated by a ";".
Possibilites are "SR" (Argolis Smartreader), "Infinity" (Infinity USB Smart), "TripleP1" (Argolis TripleReader Port 1), "TripleP2" (Argolis TripleReader Port 2) or "TripleP3" (Argolis TripleReader Port 3). Example is device=TripleP1;Serial:00000001. If you dont specify the reader type, it defaults to the Argolis Smartreader.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8033 4b0bc96b-bc66-0410-9d44-ebda105a78c1
in some cases channel cache overruled oscam.dvbapi, should be fixed now


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8034 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fix compiler warning

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8035 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Remove unintended commit part...

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8036 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Tryfix read all writen chars. Sometimes not all written chars were read and
caused error for all further reader communication.
Increased the timeout to approx 10 seconds, that would be enough I guess ;)


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8037 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Tryfix for ticket 3025 (Stapi Read broken) tnx to ngc1927 for reporting!
Plz test I dont have SH4 / STAPI boxes so I cannot test it myself.


git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8038 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Try to adapt list_smargo utility to new config format (please test as I dont have such a device).

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8039 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Smartreader: Correct locks on init and close.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8040 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Fix WebIf link to wiki for block_same-variables.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8041 4b0bc96b-bc66-0410-9d44-ebda105a78c1