* 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
}
else
{
- /* result is small, thus v2 > v1, thus e1 < e2 */
+ /* result is small, thus v2 > v1, thus m1 < m2 */
return GNUNET_YES;
}
}
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;