]> git.puffer.fish Git - matthieu/frr.git/commit
lib/resolver: NULL out callback before call
authorDavid Lamparter <equinox@diac24.net>
Thu, 23 May 2019 12:25:58 +0000 (14:25 +0200)
committerDavid Lamparter <equinox@diac24.net>
Wed, 3 Jul 2019 15:15:38 +0000 (17:15 +0200)
commit50cdb6cf95c5fc7df40e4a7328eb1fc7fcff4a9c
tree52bd79e4ed4d0d0c7de8bc563ee4b2e8f0753240
parentfe9e7b71cf0930db1f8d6872f415466689511885
lib/resolver: NULL out callback before call

The callback itself might want to reschedule the resolver, so it is
useful to clear out the callback field before making the call instead of
after.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/resolver.c