projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0105bf
)
dnsproxy: Remove dead assignment
author
Henrique Dante de Almeida
<hdante@profusion.mobi>
Tue, 8 May 2012 19:20:56 +0000
(16:20 -0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:15:42 +0000
(17:15 +0300)
src/dnsproxy.c
patch
|
blob
|
history
diff --git
a/src/dnsproxy.c
b/src/dnsproxy.c
index
4e08d1c
..
d1f5e9c
100644
(file)
--- a/
src/dnsproxy.c
+++ b/
src/dnsproxy.c
@@
-1201,7
+1201,6
@@
static int reply_query_type(unsigned char *msg, int len)
/* now the query, which is a name and 2 16 bit words */
l = dns_name_length(c) + 1;
c += l;
- len -= l;
w = (uint16_t *) c;
type = ntohs(*w);