aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/epee/include/net/http_client.h2
-rw-r--r--src/common/varint.h2
-rw-r--r--src/serialization/serialization.h10
3 files changed, 7 insertions, 7 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 <sstream>
#include <string>
/*! \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 1561d9130..8e277a46a 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
@@ -170,7 +170,7 @@ inline bool do_serialize(Archive &ar, T &v)
template <bool W, template <bool> class Archive> \
bool do_serialize_object(Archive<W> &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<W>::is_saving())
@@ -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
*/