slirp: tftp: Refactor tftp_handle_rrq
commit20c24bf24ddf91fd9ab5d827fdd0fe14397de412
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 Jun 2009 12:42:30 +0000 (24 14:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:47 +0000 (29 08:52 -0500)
treed9fd9b243004bf10f25c717b3d35b6c0c2402f85
parentef2d54d8df7e4a515b603fe101e73f716d81e778
slirp: tftp: Refactor tftp_handle_rrq

Specifically make the filename extraction more readable, and always
report errors back to the client.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
slirp/tftp.c