gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated (bb81464ed -> ee99cbfa6)


From: gnunet
Subject: [gnunet] branch master updated (bb81464ed -> ee99cbfa6)
Date: Sun, 23 Oct 2022 08:09:25 +0200

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

martin-schanzenbach pushed a change to branch master
in repository gnunet.

    from bb81464ed NAMESTORE: Introduce GANA-managed error codes
     new 91a82ed4a -unused functions
     new ee99cbfa6 update submodules

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/gana                  |  2 +-
 contrib/sphinx                |  2 +-
 src/namestore/namestore_api.c | 57 -------------------------------------------
 3 files changed, 2 insertions(+), 59 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 1662f8a18..b69551700 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 1662f8a181c0371bb9ca53a270e709140b07f8af
+Subproject commit b695517001c719d37a904eef433aa20ab9bcf3b8
diff --git a/contrib/sphinx b/contrib/sphinx
index 3465336e3..5f853d253 160000
--- a/contrib/sphinx
+++ b/contrib/sphinx
@@ -1 +1 @@
-Subproject commit 3465336e39b8a4d991e11a5604e37cf009a759fa
+Subproject commit 5f853d253daa5bc700b549fd40e4086aee1058b8
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index 5c6bf73eb..41c1fcc73 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -357,31 +357,6 @@ check_rd (size_t rd_len, const void *rd_buf, unsigned int 
rd_count)
   return GNUNET_OK;
 }
 
-/**
- * Handle an incoming message of type
- * #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE_RESPONSE
- *
- * @param cls
- * @param msg the message we received
- * @return #GNUNET_OK on success, #GNUNET_SYSERR on error
- */
-static int
-check_record_store_response (void *cls,
-                             const struct RecordStoreResponseMessage *msg)
-{
-  size_t msg_len;
-
-  (void) cls;
-  msg_len = ntohs (msg->gns_header.header.size);
-  if (msg_len != sizeof(struct RecordStoreResponseMessage))
-  {
-    GNUNET_break (0);
-    return GNUNET_SYSERR;
-  }
-  return GNUNET_OK;
-}
-
-
 /**
  * Handle an incoming message of type
  * #GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE_RESPONSE
@@ -671,38 +646,6 @@ handle_record_result_end (void *cls, const struct 
GNUNET_NAMESTORE_Header *msg)
   free_ze (ze);
 }
 
-/**
- * Handle an incoming message of type
- * #GNUNET_MESSAGE_TYPE_NAMESTORE_TX_CONTROL_RESULT.
- *
- * @param qe the respective entry in the message queue
- * @param msg the message we received
- * @return #GNUNET_OK on success, #GNUNET_SYSERR if message malformed
- */
-static int
-check_tx_control_result (void *cls,
-                         const struct TxControlResultMessage *msg)
-{
-  const char *err_tmp;
-  size_t err_len;
-
-  (void) cls;
-  err_len = ntohs (msg->gns_header.header.size)
-            - sizeof (struct TxControlResultMessage);
-  if ((GNUNET_EC_NONE == ntohs (msg->ec)) && (err_len > 0))
-  {
-    GNUNET_break (0);
-    return GNUNET_SYSERR;
-  }
-  err_tmp = (const char *) &msg[1];
-  if ((err_len > 0) && ('\0' != err_tmp[err_len - 1]))
-  {
-    GNUNET_break (0);
-    return GNUNET_SYSERR;
-  }
-  return GNUNET_OK;
-}
-
 static void
 handle_tx_control_result (void *cls,
                           const struct TxControlResultMessage *msg)

-- 
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]