if i execute this piece of code:
$var(tmp) = $rU + "@" + $rd;
if ($avp(i:301) != $var(tmp)) {
xlog("L_INFO", "var test <$avp(i:301)> != <$var(tmp)>\n");
sl_send_reply("500", "Unauthorized");
exit;
};
if ($avp(i:301) != "[EMAIL PROTECTED]") {
xlog("L_INFO", "exp test <$avp(i:301)> != <[EMAIL
PROTECTED]>\n");
sl_send_reply("500", "Unauthorized");
exit;
};
i get to syslog
Feb 17 10:36:16 rautu /usr/sbin/openser[28914]: exp test <[EMAIL PROTECTED]> !=
<[EMAIL PROTECTED]>
i.e., != comparison to var works, but to pvar expression doesn't. if
comparing to pvar expression is not supported, syntax checker should
detect it.
-- juha
_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel