X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/b7886fd46ab05c97b8a072e497903622bd1d5290..9c7a0b4e57f18adee8545804e34667334c426635:/secnet.c diff --git a/secnet.c b/secnet.c index 7aaaef5..756ab62 100644 --- a/secnet.c +++ b/secnet.c @@ -331,7 +331,7 @@ static void run(void) if (shortfall) { allocdfds *= 2; allocdfds += shortfall; - fds=safe_realloc_ary(fds,sizeof(*fds),allocdfds, "run"); + REALLOC_ARY(fds,allocdfds); } shortfall=0; idx=0;