Use Dijkstra's algorithm. Based on patches from Max Rijevskiy.
[tinc] / lib / realloc.c
2000-03-26 Ivo TimmermansInitial revision