X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/d8fa191ed7774818862febd6ade774cb7e149ab9..47b9db5941ba11277d7bd62060057202236fb921:/regress/hcommon.c.m4 diff --git a/regress/hcommon.c.m4 b/regress/hcommon.c.m4 index 330da4d..760ca0c 100644 --- a/regress/hcommon.c.m4 +++ b/regress/hcommon.c.m4 @@ -160,6 +160,11 @@ void Tvbfdset(int max, const fd_set *fds) { int i; const char *comma= ""; + if (!fds) { + Tvba("null"); + return; + } + Tvba("["); for (i=0; i