diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-27 22:09:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-27 22:09:05 +0100 |
commit | 212addcc5d177059cd11183034dcd5cf26a413ee (patch) | |
tree | 50d06bbaeec68538b29004ff00274417b6456e10 /src/cadet/gnunet-service-cadet-new_channel.c | |
parent | 0fb9f54b31e618aa2e73d29996bdd7d26b948cda (diff) | |
download | gnunet-212addcc5d177059cd11183034dcd5cf26a413ee.tar.gz gnunet-212addcc5d177059cd11183034dcd5cf26a413ee.zip |
fix comments, fix test
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.c | 6 |
1 files changed, 3 insertions, 3 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 | */ |
1091 | static int | 1091 | static 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 | } |