[Devel] $ct and $hdr(Content-Type) printing <null>

Mark Price markprice at gmail.com
Wed Nov 22 00:39:14 CET 2006


Hi,

I am trying to log MESSAGE packets differentiated the content-type of the
packet.
I can see in the packet dump that they have types such as "text/html" and so
on.
I'm using the following statement in the code:
        if(method=="MESSAGE") {
                xlog("L_ALERT","$ct $rb\n");
        }
The message body specified by $rb is printing out fine, but $ct is printing
out "<null>".
I get the exact same result if I say:
                xlog("L_ALERT","$hdr(Content-Type) $rb\n");

Is this a bug in openser?

Thanks,

Mark Price
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20061121/437e947e/attachment.htm


More information about the Devel mailing list