Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-08 23:41:41 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-08 23:41:41 +0300
commitb477e18c1e4cf40f5463d24523a10870ece10888 (patch)
treeaaab3999c29cc8d37870d1a0cf314fee16cc2dc6 /networking/tftp.c
parent0aa6ba5d44af32d0bf460c8d92cda686bae64c92 (diff)
tftp: fix my bug
Diffstat (limited to 'networking/tftp.c')
-rw-r--r--networking/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index ada38bc44..bbed9ac78 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -280,7 +280,7 @@ static int tftp(
unsigned from_port;
case 1:
from->len = peer_lsa->len;
- memset(from, 0, peer_lsa->len);
+ memset(&from->sa, 0, peer_lsa->len);
len = recvfrom(socketfd, rbuf, tftp_bufsize, 0,
&from->sa, &from->len);
if (len < 0) {