[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 72/324: mq: fix make-envelope/dll constructor.
From: |
gnunet |
Subject: |
[gnunet-scheme] 72/324: mq: fix make-envelope/dll constructor. |
Date: |
Tue, 21 Sep 2021 13:21:52 +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 a94bf06a36997149fb38e98b48f4505c3024308e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Feb 3 17:53:30 2021 +0100
mq: fix make-envelope/dll constructor.
* gnu/gnunet/message/make-envelope/dll
(<envelope/dll>): specify parent type.
(make-envelope/dll): use parent constructor.
---
gnu/gnunet/message/envelope.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/gnunet/message/envelope.scm b/gnu/gnunet/message/envelope.scm
index cf2fc41..749017a 100644
--- a/gnu/gnunet/message/envelope.scm
+++ b/gnu/gnunet/message/envelope.scm
@@ -97,14 +97,15 @@ This may only be done once."
"A variant of @code{make-envelope}, that organises envelopes
in a linked list. The capability @var{cap} will be required for accessing
and modifying this list."
- (apply %make cap #f #f args))))
+ ((apply %make args) cap #f #f))))
+ (parent <envelope>)
(sealed #f)
(opaque #t))
(define (envelope-dll-check ev/dll cap)
"Verify whether the capability @var{cap} can be used
for accessing the underlying DLL of the envelope @var{ev}.
-If not, raise an exception."
+If not, raise an exception. Otherwise, return truth."
;; FIXME &bad-capability exception?
(assert (eq? (%envelope/dll-capability ev/dll) cap)))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 63/324: Define message envelope type and procedures., (continued)
- [gnunet-scheme] 63/324: Define message envelope type and procedures., gnunet, 2021/09/21
- [gnunet-scheme] 73/324: concurrency: implement an ‘update stream’, gnunet, 2021/09/21
- [gnunet-scheme] 81/324: nse: define network structures., gnunet, 2021/09/21
- [gnunet-scheme] 74/324: build: add autotools scripts, gnunet, 2021/09/21
- [gnunet-scheme] 78/324: scripts: download-store: remove debugging, gnunet, 2021/09/21
- [gnunet-scheme] 60/324: Allow using integer->value on maximal value, gnunet, 2021/09/21
- [gnunet-scheme] 68/324: scripts: download-store: allow downloads in nar format, gnunet, 2021/09/21
- [gnunet-scheme] 67/324: scripts: Don't flatten the FS tree and use SXML instead of JSON, gnunet, 2021/09/21
- [gnunet-scheme] 66/324: Document how to use GNUnet FS without networking., gnunet, 2021/09/21
- [gnunet-scheme] 70/324: doc: Progress update in README.org, gnunet, 2021/09/21
- [gnunet-scheme] 72/324: mq: fix make-envelope/dll constructor.,
gnunet <=
- [gnunet-scheme] 65/324: download-store: prepare supporting the nar output format, gnunet, 2021/09/21
- [gnunet-scheme] 64/324: scripts: download-store: use SRFI-39 parameters for configuration, gnunet, 2021/09/21
- [gnunet-scheme] 75/324: build: correct propagated-inputs fields, gnunet, 2021/09/21
- [gnunet-scheme] 79/324: vc: add most build artifacts to .gitignore, gnunet, 2021/09/21
- [gnunet-scheme] 80/324: Define various common network structures, gnunet, 2021/09/21
- [gnunet-scheme] 86/324: doc: Update the roadmap on Guix + GNUnet., gnunet, 2021/09/21
- [gnunet-scheme] 84/324: utils: correct definition of unsigned integers, gnunet, 2021/09/21
- [gnunet-scheme] 76/324: scripts: download-store: make dependency on guix optional, gnunet, 2021/09/21
- [gnunet-scheme] 83/324: Document the current state of message queues., gnunet, 2021/09/21
- [gnunet-scheme] 85/324: mq: Do not include callbacks in envelopes., gnunet, 2021/09/21