X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=secnet.c;h=756ab62b78aa27f3d7734ec671ef4cb11da0c697;hb=0a4463c662d6890a5137ccccca41dabf93fd2334;hp=7aaaef543145411ab27b3f07fca42753f4173fcf;hpb=f2d5f883b327692465b0eb77da48790d03253814;p=secnet.git 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;