]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: fix typo in example
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 16 Apr 2020 06:55:42 +0000 (06:55 +0000)
committerZygmunt Krynicki <me@zygoon.pl>
Thu, 16 Apr 2020 06:55:42 +0000 (06:55 +0000)
The length of "bar" is encoded as 3. The annotation is incorrect.

doc/dbus-specification.xml

index 9d759b4913504d0134b34f9e915d462b758f9229..48801358ae76efbf96cb5ba5fe2047810d16ef31 100644 (file)
                          0x00             <lineannotation>trailing nul</lineannotation>
 
                                0x00 0x00  <lineannotation>2 bytes of padding to reach next multiple of 4</lineannotation>
-0x03 0x00 0x00 0x00                       <lineannotation>length of ‘bar’ = 1</lineannotation>
+0x03 0x00 0x00 0x00                       <lineannotation>length of ‘bar’ = 3</lineannotation>
                     0x62 0x61 0x72        <lineannotation>‘bar’</lineannotation>
                                     0x00  <lineannotation>trailing nul</lineannotation>
         </screen>