off += msize;
peer->pending_count--;
increment_stats ("# pending messages sent");
- GNUNET_assert (peer->pending_count >= 0);
GNUNET_CONTAINER_DLL_remove (peer->head, peer->tail, pending);
GNUNET_free (pending);
pending = peer->head;
continue; /* Ignore bloomfiltered peers */
}
temp_converge_distance = converge_distance (target, pos, hops);
- if ((temp_converge_distance <= ULLONG_MAX) && (total_distance + temp_converge_distance > total_distance)) /* Handle largest case and overflow */
+ if (total_distance + temp_converge_distance > total_distance) /* Handle largest case and overflow */
total_distance += temp_converge_distance;
else
break; /* overflow case */