gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 230/324: doc: Correct errors in ‘network structure’ sect


From: gnunet
Subject: [gnunet-scheme] 230/324: doc: Correct errors in ‘network structure’ section.
Date: Tue, 21 Sep 2021 13:24:30 +0200

This is an automated email from the git hooks/post-receive script.

maxime-devos pushed a commit to branch master
in repository gnunet-scheme.

commit e196828f5dbc9b3ed7f656a3131fc508ef418e2e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Sep 3 18:53:18 2021 +0200

    doc: Correct errors in ‘network structure’ section.
    
    * doc/scheme-gnunet.tm
      (Manipulation of network structures): Correct value of 'size'.
      Fix a grammo.
---
 doc/scheme-gnunet.tm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/scheme-gnunet.tm b/doc/scheme-gnunet.tm
index 51f65c7..004f9d8 100644
--- a/doc/scheme-gnunet.tm
+++ b/doc/scheme-gnunet.tm
@@ -133,25 +133,25 @@
   <with|font-shape|italic|value> is structured.
 
   As an example, consider figure <reference|networkstructex>.<space|1em>There,
-  the value is <scm|0 0 0 4 0 0 1 65 64 51 238 123 71 27 58 149> and the type
-  is <scm|/:msg:nse:estimate/example>.
+  the value is <scm|0 12 1 65 64 51 238 123 71 27 58 149> and the type is
+  <scm|/:msg:nse:estimate/example>.
 
   <big-figure|<tree|<scm|/:msg:nse:estimate/example>|<tree|<scm|header>
-  <scm|/:message-header>|<tree|<scm|size> <scm|u32/big>|0 0 0
-  4>|<tree|<scm|type> <scm|u32/big>|0 0 1 65>>|<tree|<scm|size-estimate>
+  <scm|/:message-header>|<tree|<scm|size> <scm|u16/big>|0
+  12>|<tree|<scm|type> <scm|u16/big>|1 65>>|<tree|<scm|size-estimate>
   <scm|ieee-double/big>|64 51 238 123 71 27 58 149>>|A network structure,
   both <with|font-shape|italic|value> and
   <with|font-shape|italic|type>.<label|networkstructex>>
 
   This value has a <with|font-shape|italic|header> with a
-  <with|font-shape|italic|size> \<#2018\>0 0 0 4\<#2019\> of type
-  <scm|u32/big>, so the <with|font-shape|italic|size> is 4.<space|1em>The
+  <with|font-shape|italic|size> \<#2018\>0 0 0 12\<#2019\> of type
+  <scm|u32/big>, so the <with|font-shape|italic|size> is 12.<space|1em>The
   <with|font-shape|italic|header> also has a <with|font-shape|italic|type>
   \<#2018\>0 0 1 65\<#2019\> of type <scm|u32/big>, so the type is
   <math|256\<times\>1+65=321>.<space|1em>The value also has a
   <with|font-shape|italic|size estimate> of type
   <scm|ieee-double/big>.<space|1em>The octets <scm|64 51 238 123 71 27 58
-  149>, \ interpreted as an IEEE doubles, form the number
+  149>, \ interpreted as an IEEE double, form the number
   <math|19.93\<ldots\>>.
 
   <subsection|Documentation>
@@ -231,7 +231,7 @@
   determines the size of the \<#2018\>size\<#2019\> field in the header:
 
   <\scm-code>
-    (sizeof /:msg:nse:estimate/example '(header size)) ; 4
+    (sizeof /:msg:nse:estimate/example '(header size)) ; 12
   </scm-code>
 
   The fields can also be read:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]