0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

authd/res: clean up some horribly indented code

This commit is contained in:
Elizabeth Myers 2016-04-02 17:44:31 -05:00
parent 0c0c9cf8fe
commit fa2d5b83b4

View file

@ -322,6 +322,8 @@ static struct reslist *make_request(struct DNSQuery *query)
/*
* retryfreq - determine how many queries to wait before resending
* if there have been that many consecutive timeouts
*
* This is a cubic backoff btw, if anyone didn't pick up on it. --Elizafox
*/
static int retryfreq(int timeouts)
{
@ -725,7 +727,6 @@ static int proc_answer(struct reslist *request, HEADER * header, char *buf, char
/* real answer will follow */
current += rd_length;
break;
default:
break;
}