X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacket.cc;h=06d646353ffc3aae49879190dff58a7855482718;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=aed46e7700f7920892944d61e06f28b0bda54024;hpb=47368f306a577d1e46df69a7f729bd3893cbe5e7;p=senf.git diff --git a/Packets/Packet.cc b/Packets/Packet.cc index aed46e7..06d6463 100644 --- a/Packets/Packet.cc +++ b/Packets/Packet.cc @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $Id$ +// +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -21,12 +23,10 @@ /** \file \brief Packet non-inline non-template implementation */ -#include "PacketInterpreter.hh" -#include "Packet.hh" //#include "Packet.ih" // Custom includes -#include "DataPacket.hh" +#include "Packets.hh" //#include "Packet.mpp" #define prefix_ @@ -50,10 +50,10 @@ prefix_ senf::Packet senf::Packet::checkLast() const { Packet p (*this); - Packet n (p.next()); + Packet n (p.next(nothrow)); while (n) { p = n; - n = p.next(); + n = p.next(nothrow); } return p; } @@ -70,4 +70,5 @@ prefix_ senf::Packet senf::Packet::checkLast() // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: