* otherwise write to stderr. Don't use `%m' because that won't work when
* writing to stderr.
*/
-static void complain(int sev, const char *msg, ...)
+static void PRINTF_LIKE(2, 3) complain(int sev, const char *msg, ...)
{
va_list ap;
/* Rate limiting parameters.
*
* There's a probabilistic rate-limiting mechanism. A counter starts at 0.
- * Every time we oricess a request, we increment the counter. The counter
+ * Every time we process a request, we increment the counter. The counter
* drops by RATE_REFILL every second. If the counter is below RATE_CREDIT
* then the request is processed; otherwise it is processed with probability
* 1/(counter - RATE_CREDIT).
return (q);
}
-/* Reransmission and timeout parameters. */
+/* Retransmission and timeout parameters. */
#define TO_NEXT(t) (((t) + 2)*4/3) /* Timeout growth function */
#define TO_MAX 30 /* When to give up */
}
/* Wee whether this corresponds to any of our servers. Don't just
- * check the active servers, since this may be late replies caused by
+ * check the active servers, since this may be late a reply caused by
* retransmissions or similar.
*/
for (q = qq; q; q = q->next) {