Please use spaces instead of tabs!
[senf.git] / Packets / MPEGDVBBundle / GREPacket.hh
index 87c3e2a..ce44702 100644 (file)
@@ -46,7 +46,7 @@ namespace senf {
 #       include SENF_PARSER()        
         SENF_PARSER_FIELD ( checksum1_, UInt16Parser );
         SENF_PARSER_PRIVATE_FIELD ( reserved1_, UInt16Parser );
-       SENF_PARSER_FINALIZE(GREChecksumParser);
+        SENF_PARSER_FINALIZE(GREChecksumParser);
     };
 
     struct GREPacketParser : public PacketParserBase
@@ -95,7 +95,7 @@ namespace senf {
           return p->protocol_type();
         }
         static void finalize(packet p) {
-          p->protocol_type() << key(p.next());
+          p->protocol_type() << key(p.next(nothrow));
           p->version_number() = 0; // as per RFC2784, 2.3.1
 
           if (p->checksum_present()) {