Hello,

On 11/10/10 5:16 AM, Jeremya wrote:
These text lines parse

if ($sht(ipban=>$si)!=$null)

$sht(ipban=>$si)=1;

These don't parse

if($sht (ipban=>$si)!=$null)

$sht (ipban=>$si)=1;

In both cases the gap between $sht and the opening '(' is the problem.

Is this expected behaviour?
$abc(xyz) are variables, like in any system if you add space inside the name of a variable does not work.

C case:

int counter; -- this is ok

int co unter; -- this is broken

Cheers,
Daniel

Jeremy


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to