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:
parent
0c0c9cf8fe
commit
fa2d5b83b4
1 changed files with 64 additions and 63 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue