projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[cascardo/linux.git]
/
net
/
dns_resolver
/
dns_query.c
diff --git
a/net/dns_resolver/dns_query.c
b/net/dns_resolver/dns_query.c
index
9a32f55
..
39d2c39
100644
(file)
--- a/
net/dns_resolver/dns_query.c
+++ b/
net/dns_resolver/dns_query.c
@@
-151,7
+151,7
@@
int dns_query(const char *type, const char *name, size_t namelen,
goto put;
memcpy(*_result, upayload->data, len);
-
*_result
[len] = '\0';
+
(*_result)
[len] = '\0';
if (_expiry)
*_expiry = rkey->expiry;