respondd: adapt coding style for multiline comments

This commit is contained in:
lemoer 2016-09-10 05:50:41 +02:00
parent ccfe3101ec
commit 73e1b74da3
1 changed files with 12 additions and 10 deletions

View File

@ -429,16 +429,18 @@ void serve_request(struct request_task *task, int sock) {
); );
} }
// Wait for an incoming request and schedule it. /**
// * Wait for an incoming request and schedule it.
// 1a. If the schedule is empty, we wait infinite time. *
// 1b. If we have scheduled requests, we only wait for incoming requests * 1a. If the schedule is empty, we wait infinite time.
// until we reach the scheduling deadline. * 1b. If we have scheduled requests, we only wait for incoming requests
// 2a. If the incoming request was sent to a multicast destination IPv6, * until we reach the scheduling deadline.
// choose a random delay between 0 and max_multicast_delay milliseconds. * 2a. If the incoming request was sent to a multicast destination IPv6,
// 2b. If the schedule is full, send the reply immediately. * choose a random delay between 0 and max_multicast_delay milliseconds.
// 2c. If the incoming request was sent to a unicast destination, the response * 2b. If the schedule is full, send the reply immediately.
// will be also sent immediately. * 2c. If the incoming request was sent to a unicast destination, the response
* will be also sent immediately.
*/
static void accept_request(struct request_schedule *schedule, int sock, static void accept_request(struct request_schedule *schedule, int sock,
uint64_t max_multicast_delay) { uint64_t max_multicast_delay) {
char input[REQUEST_MAXLEN]; char input[REQUEST_MAXLEN];