1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-26 15:06:04 +03:00

No segfaults please

This commit is contained in:
Bjorn Andersson 2006-06-11 17:26:13 +00:00
parent 6864263aac
commit 16c46c3183

2
dns.c
View File

@ -618,7 +618,9 @@ dnsd_read(int fd, char *buf, int buflen)
r = decodepacket(name, &packetbuf);
if (r > 0) {
memcpy(buf, packetbuf.data, r);
}
return r;
}