X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2Fhcommon.c.m4;h=05ce3f4a71a0536c7239b1b3207437d25661d6ae;hb=05fc6b3a75b4013064318637d6367bf9ddf96563;hp=68127bea0ba3099ca0374990c9117e2119991fa7;hpb=bef232aebeabbef525faa7d7f5b08cf7a1427f95;p=adns.git diff --git a/regress/hcommon.c.m4 b/regress/hcommon.c.m4 index 68127be..05ce3f4 100644 --- a/regress/hcommon.c.m4 +++ b/regress/hcommon.c.m4 @@ -61,12 +61,14 @@ const struct Terrno Terrnos[]= { { "ECONNRESET", ECONNRESET }, { "ECONNREFUSED", ECONNREFUSED }, { "EPIPE", EPIPE }, + { "ENOTSOCK", ENOTSOCK }, { 0, 0 } }; static vbuf vbw; int Hgettimeofday(struct timeval *tv, struct timezone *tz) { + Tensurerecordfile(); Tmust("gettimeofday","tz",!tz); *tv= currenttime; return 0; @@ -307,7 +309,7 @@ void Hexit(int rv) { if (mallocedlist.head) { fprintf(stderr,"adns test harness: memory leaked:"); for (loopnode=mallocedlist.head; loopnode; loopnode=loopnode->next) - fprintf(stderr," %lu(%lu)",loopnode->count,(unsigned long)loopnode->sz); + fprintf(stderr," %lu",loopnode->count); putc('\n',stderr); if (ferror(stderr)) exit(-1); }