Hi Juha,
thanks for the report and patch - it was committed on the CVS.
regards,
bogdan
Juha Heinanen wrote:
if i have defined
modparam( "tm", "tw_append", "test_avps:Test-Header=$avp(i:100)")
and if avp i:100 is not set when
t_write_unix("/tmp/sock", "test/test_avps"))
is called, tw_appends appends header
Test-Header: <null>
in my opinion tw_append should test if AVP is set and if not, not append
the header.
the patch below should do the trick.
-- juha
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel