X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blobdiff_plain;f=src%2Finternal.h;h=c7667382babd3adfec53dfde1e92e641c387c5d8;hp=643b86f00ad18eb0b0b4ab52791bcc8ef33e010f;hb=626f869531a241dd8f187afb392a3151caf9a728;hpb=5b9dd636d9afe29576a0da94a5cdfe227f3a6853 diff --git a/src/internal.h b/src/internal.h index 643b86f..c766738 100644 --- a/src/internal.h +++ b/src/internal.h @@ -289,10 +289,10 @@ struct adns__state { server_ok, server_broken } tcpstate; struct timeval tcptimeout; - /* This will have tv_sec==0 if it is not valid. - * It will always be valid if tcpstate _connecting. - * When _ok, it will be nonzero if we are idle - * (ie, tcpw queue is empty) and counting down. + /* This will have tv_sec==0 if it is not valid. It will always be + * valid if tcpstate _connecting. When _ok, it will be nonzero if + * we are idle (ie, tcpw queue is empty), in which case it is the + * absolute time when we will close the connection. */ struct sigaction stdsigpipe; sigset_t stdsigmask;