cmdmon: remove unused test code
This commit is contained in:
parent
9c36236742
commit
9cb9021c87
1 changed files with 1 additions and 13 deletions
12
cmdmon.c
12
cmdmon.c
|
@ -1739,19 +1739,7 @@ read_from_cmd_socket(int sock_fd, int event, void *anything)
|
|||
}
|
||||
|
||||
/* Transmit the response */
|
||||
{
|
||||
/* Include a simple way to lose one message in three to test resend */
|
||||
|
||||
static int do_it=1;
|
||||
|
||||
if (do_it) {
|
||||
transmit_reply(sock_fd, read_length, sck_message);
|
||||
}
|
||||
|
||||
#if 0
|
||||
do_it = ((do_it + 1) % 3);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
|
Loading…
Reference in a new issue