summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/asr/asr_utils.c')
-rw-r--r--lib/libc/asr/asr_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr_utils.c b/lib/libc/asr/asr_utils.c
index 41112550b04..ef72718531d 100644
--- a/lib/libc/asr/asr_utils.c
+++ b/lib/libc/asr/asr_utils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asr_utils.c,v 1.5 2013/04/01 15:49:54 deraadt Exp $ */
+/* $OpenBSD: asr_utils.c,v 1.6 2013/04/02 21:23:17 eric Exp $ */
/*
* Copyright (c) 2009-2012 Eric Faurot <eric@faurot.net>
*
@@ -133,7 +133,7 @@ dname_expand(const unsigned char *data, size_t len, size_t offset,
return (-1);
if (end < offset + 2)
end = offset + 2;
- offset = ptr;
+ offset = start = ptr;
continue;
}
if (offset + n + 1 > len)