diff -r 07a122eea281 -r 4814c5a49428 telephonyprotocols/rawipnif/src/RawIPFlow.cpp --- a/telephonyprotocols/rawipnif/src/RawIPFlow.cpp Wed Sep 01 12:40:21 2010 +0100 +++ b/telephonyprotocols/rawipnif/src/RawIPFlow.cpp Tue Sep 14 23:33:57 2010 +0300 @@ -236,7 +236,13 @@ _LOG_L1C3(_L8("CRawIPFlow %08x:\tSendPacket(): length=%d"), this, aPdu.Length() - aPdu.First()->Length()); - __PACKETLOG_WRITE_PACKET(aPdu, 0); +#ifdef _DEBUG + if (__packetLogger__ != NULL) + { + __PACKETLOG_WRITE_PACKET(aPdu, 0); + } +#endif + return iBcaController->Send(aPdu); }