From: Christian Grothoff Date: Fri, 27 Jan 2017 21:09:05 +0000 (+0100) Subject: fix comments, fix test X-Git-Tag: taler-0.2.1~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=212addcc5d177059cd11183034dcd5cf26a413ee;p=oweals%2Fgnunet.git fix comments, fix test --- 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;