diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2012-01-10 02:55:35 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2012-01-10 02:55:35 +0000 |
commit | 3e519b7cc15bb6b2e88c22df736c17bd3f7b5104 (patch) | |
tree | fafcc98a2d6d79f41f9eaa8f940bd5f259fd7ab6 /libexec | |
parent | 9a7e6bac47adc1bbff8a3cb38ff74bde8a2cc399 (diff) | |
download | src-test2-3e519b7cc15bb6b2e88c22df736c17bd3f7b5104.tar.gz src-test2-3e519b7cc15bb6b2e88c22df736c17bd3f7b5104.zip |
Notes
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/tftpd/tftp-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c index b396134ac9b7..bc5379cb99bc 100644 --- a/libexec/tftpd/tftp-io.c +++ b/libexec/tftpd/tftp-io.c @@ -323,7 +323,6 @@ send_ack(int fp, uint16_t block) { struct tftphdr *tp; int size; - char *bp; char buf[MAXPKTSIZE]; if (debug&DEBUG_PACKETS) @@ -332,7 +331,6 @@ send_ack(int fp, uint16_t block) DROPPACKETn("send_ack", 0); tp = (struct tftphdr *)buf; - bp = buf + 2; size = sizeof(buf) - 2; tp->th_opcode = htons((u_short)ACK); tp->th_block = htons((u_short)block); |