From 0693f3c7e646a17de2c6bdb87be8afb85a95fe15 Mon Sep 17 00:00:00 2001 From: Henning Kopp Date: Mon, 25 Jan 2016 13:36:14 +0100 Subject: [PATCH 1/3] fixed typo --- src/serialization/serialization.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization/serialization.h b/src/serialization/serialization.h index 1561d9130..75a8b653e 100644 --- a/src/serialization/serialization.h +++ b/src/serialization/serialization.h @@ -170,7 +170,7 @@ inline bool do_serialize(Archive &ar, T &v) template class Archive> \ bool do_serialize_object(Archive &ar){ -/*! \macro PREPARE_CUSTON_VECTOR_SERIALIZATION +/*! \macro PREPARE_CUSTOM_VECTOR_SERIALIZATION */ #define PREPARE_CUSTOM_VECTOR_SERIALIZATION(size, vec) \ ::serialization::detail::prepare_custom_vector_serialization(size, vec, typename Archive::is_saving()) From 9abc4b831b01083145ef416ed20914706aad8c9a Mon Sep 17 00:00:00 2001 From: Henning Kopp Date: Mon, 25 Jan 2016 13:42:44 +0100 Subject: [PATCH 2/3] more typos fixed --- contrib/epee/include/net/http_client.h | 2 +- src/common/varint.h | 2 +- src/serialization/serialization.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/epee/include/net/http_client.h b/contrib/epee/include/net/http_client.h index 66b28384c..077c80230 100644 --- a/contrib/epee/include/net/http_client.h +++ b/contrib/epee/include/net/http_client.h @@ -509,7 +509,7 @@ using namespace std; if(0 == chunk_size) { //Here is a small confusion - //In breif - if the chunk is the last one we need to get terminating sequence + //In brief - if the chunk is the last one we need to get terminating sequence //along with the cipher, generally in the "ddd\r\n\r\n" form for(it++;it != buff.end(); it++) diff --git a/src/common/varint.h b/src/common/varint.h index f1e519b8f..ffaa682c5 100644 --- a/src/common/varint.h +++ b/src/common/varint.h @@ -36,7 +36,7 @@ #include #include /*! \file varint.h - * \breif provides the implementation of varint's + * \brief provides the implementation of varint's * * The representation of varints is rather odd. The first bit of each * octet is significant, it represents wheter there is another part diff --git a/src/serialization/serialization.h b/src/serialization/serialization.h index 75a8b653e..86df71c61 100644 --- a/src/serialization/serialization.h +++ b/src/serialization/serialization.h @@ -29,10 +29,10 @@ // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers /*! \file serialization.h - * \breif Simple DSL AAPI based on + * \brief Simple DSL AAPI based on * * \detailed is_blob_type and has_free_serializer are - * both descriptors for dispatching on to the serailize function. + * both descriptors for dispatching on to the serialize function. * * The API itself defines a domain specific language via dirty macro * hacks. Greenspun's tenth rule is very much in action throughout From e514f0a36907b75910fdfee2ea2d558c45308cab Mon Sep 17 00:00:00 2001 From: Henning Kopp Date: Mon, 25 Jan 2016 15:05:29 +0100 Subject: [PATCH 3/3] even more typos --- src/serialization/serialization.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serialization/serialization.h b/src/serialization/serialization.h index 86df71c61..8e277a46a 100644 --- a/src/serialization/serialization.h +++ b/src/serialization/serialization.h @@ -224,7 +224,7 @@ inline bool do_serialize(Archive &ar, T &v) if (!r || !ar.stream().good()) return false; \ } while(0); -/*! \macro VARING_FIELD(f) +/*! \macro VARINT_FIELD(f) * \brief tags and serializes the varint \a f */ #define VARINT_FIELD(f) \ @@ -234,7 +234,7 @@ inline bool do_serialize(Archive &ar, T &v) if (!ar.stream().good()) return false; \ } while(0); -/*! \macro VARING_FIELD_N(t, f) +/*! \macro VARINT_FIELD_N(t, f) * * \brief tags (as \a t) and serializes the varint \a f */