[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/02: fix comments, fix test
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/02: fix comments, fix test |
Date: |
Fri, 27 Jan 2017 22:15:29 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 212addcc5d177059cd11183034dcd5cf26a413ee
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 27 22:09:05 2017 +0100
fix comments, fix test
---
src/cadet/gnunet-service-cadet-new_channel.c | 6 +++---
src/util/test_container_dll.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c
b/src/cadet/gnunet-service-cadet-new_channel.c
index ef1858c4b..3bcf5ad0b 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.c
+++ b/src/cadet/gnunet-service-cadet-new_channel.c
@@ -1084,8 +1084,8 @@ GCCH_handle_channel_open_ack (struct CadetChannel *ch)
* Test if element @a e1 comes before element @a e2.
*
* @param cls closure, to a flag where we indicate duplicate packets
- * @param e1 an element of to sort
- * @param e2 another element to sort
+ * @param m1 a message of to sort
+ * @param m2 another message to sort
* @return #GNUNET_YES if @e1 < @e2, otherwise #GNUNET_NO
*/
static int
@@ -1108,7 +1108,7 @@ is_before (void *cls,
}
else
{
- /* result is small, thus v2 > v1, thus e1 < e2 */
+ /* result is small, thus v2 > v1, thus m1 < m2 */
return GNUNET_YES;
}
}
diff --git a/src/util/test_container_dll.c b/src/util/test_container_dll.c
index a1954e8fa..4d2830807 100644
--- a/src/util/test_container_dll.c
+++ b/src/util/test_container_dll.c
@@ -72,7 +72,7 @@ int
main (int argc, char **argv)
{
unsigned int values[] = {
- 4, 5, 8, 6, 9, 3, 7, 2, 6, 1, 0
+ 4, 5, 8, 6, 9, 3, 7, 2, 1, 0
};
struct Element *head = NULL;
struct Element *tail = NULL;
--
To stop receiving notification emails like this one, please contact
address@hidden