summaryrefslogtreecommitdiff
path: root/src/dnsproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsproxy.c')
-rw-r--r--src/dnsproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 8ed34a7a..4ad4eb66 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -1083,7 +1083,7 @@ static int parse_response(unsigned char *buf, int buflen,
* of the alias and cache that.
*/
unsigned char *end = NULL;
- int name_len = 0, output_len;
+ int name_len = 0, output_len = 0;
memset(rsp, 0, sizeof(rsp));
rsp_len = sizeof(rsp) - 1;