aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cadet/gnunet-service-cadet-new_channel.c6
-rw-r--r--src/util/test_container_dll.c2
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)
1084 * Test if element @a e1 comes before element @a e2. 1084 * Test if element @a e1 comes before element @a e2.
1085 * 1085 *
1086 * @param cls closure, to a flag where we indicate duplicate packets 1086 * @param cls closure, to a flag where we indicate duplicate packets
1087 * @param e1 an element of to sort 1087 * @param m1 a message of to sort
1088 * @param e2 another element to sort 1088 * @param m2 another message to sort
1089 * @return #GNUNET_YES if @e1 < @e2, otherwise #GNUNET_NO 1089 * @return #GNUNET_YES if @e1 < @e2, otherwise #GNUNET_NO
1090 */ 1090 */
1091static int 1091static int
@@ -1108,7 +1108,7 @@ is_before (void *cls,
1108 } 1108 }
1109 else 1109 else
1110 { 1110 {
1111 /* result is small, thus v2 > v1, thus e1 < e2 */ 1111 /* result is small, thus v2 > v1, thus m1 < m2 */
1112 return GNUNET_YES; 1112 return GNUNET_YES;
1113 } 1113 }
1114} 1114}
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
72main (int argc, char **argv) 72main (int argc, char **argv)
73{ 73{
74 unsigned int values[] = { 74 unsigned int values[] = {
75 4, 5, 8, 6, 9, 3, 7, 2, 6, 1, 0 75 4, 5, 8, 6, 9, 3, 7, 2, 1, 0
76 }; 76 };
77 struct Element *head = NULL; 77 struct Element *head = NULL;
78 struct Element *tail = NULL; 78 struct Element *tail = NULL;