projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move rdata_buffer to cache_answer()
[project/mdnsd.git]
/
cache.c
diff --git
a/cache.c
b/cache.c
index
4dcccfb
..
c49b0fd
100644
(file)
--- a/
cache.c
+++ b/
cache.c
@@
-227,6
+227,8
@@
cache_answer(struct interface *iface, uint8_t *base, int blen, char *name, struc
void *rdata_ptr, *txt_ptr;
int host_len = 0;
+ static char rdata_buffer[MAX_DATA_LEN + 1];
+
if (!(a->class & CLASS_IN))
return;