X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FParserBase.hh;h=6cf4f8e736d766f6855417a70365b6737cd775ff;hb=9a988902090d28007578e93bffd809f6bd913155;hp=d9c3723aa952afcdddbc7d56a2b065eb3c3da3ee;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Packets/ParserBase.hh b/Packets/ParserBase.hh index d9c3723..6cf4f8e 100644 --- a/Packets/ParserBase.hh +++ b/Packets/ParserBase.hh @@ -107,7 +107,7 @@ namespace senf { // return true, if the data in the range [begin,end) // can be safely interpreted by the parser without // causing invalid memory access. This means, - // check, wether the data is truncated + // check, whether the data is truncated return static_cast(end-begin) >= bytes(); } @@ -271,7 +271,7 @@ namespace senf { /** \brief Addtiional Parser information - Parser_traits provids abstract information about an unknown + Parser_traits provides abstract information about an unknown parser. Besides the information already available within the Parser it provides an additional 'fixed_sized' member which is true if and only if the Parser has a static bytes() member.