Log errors when add_edge() fails to insert into the edge trees.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 27 Jun 2021 14:01:52 +0000 (16:01 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 27 Jun 2021 14:09:41 +0000 (16:09 +0200)
commitbda16410075a63b147179c15aa75640decf17ec7
treefcb477472a7a3e328c80e806477fcdfbc156c925
parent853dd3d76ac22835c5547d765afe557220fe4903
Log errors when add_edge() fails to insert into the edge trees.

This should never happen, but if it does we want to have it at least
logged instead of causing issues later on.

Based on a patch from arsh0r.
src/edge.c