--- ccrtp-1.5.1/src/incqueue.cpp 2006-12-31 14:12:33.000000000 +0100 +++ ccrtp-1.5.1.new/src/incqueue.cpp 2007-03-02 11:15:17.000000000 +0100 @@ -439,10 +439,18 @@ srcLink->getLast()->setSrcNext(packetLink); packetLink->setSrcPrev(srcLink->getLast()); srcLink->setLast(packetLink); +/* added by RER who was experiencing 0 pointers to recvLast */ + if ( recvLast ) { + recvLast->setNext(packetLink); + packetLink->setPrev(recvLast); + } + recvLast = packetLink; +#if 0 // the last packet in the global queue recvLast->setNext(packetLink); packetLink->setPrev(recvLast); recvLast = packetLink; +#endif } } // account the insertion of this packet into the queue