aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2007-09-29 14:37:47 +0000
committerGisle Vanem <gvanem@broadpark.no>2007-09-29 14:37:47 +0000
commitb01ab65225dec292919f8123ef2557d0a94e4569 (patch)
treefdbb39135834af9e3e25cd8736a28292943086f3 /ares
parent7a7f490efab410e161429af5b50042c3b3152237 (diff)
We should standarise on C comments.
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_expand_name.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ares/ares_expand_name.c b/ares/ares_expand_name.c
index ffa26e6b5..30499702a 100644
--- a/ares/ares_expand_name.c
+++ b/ares/ares_expand_name.c
@@ -75,10 +75,11 @@ int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf,
q = *s;
if (len == 0) {
- // RFC2181 says this should be ".": the root of the DNS tree.
- // Since this function strips trailing dots though, it becomes ""
+ /* RFC2181 says this should be ".": the root of the DNS tree.
+ * Since this function strips trailing dots though, it becomes ""
+ */
q[0] = '\0';
- *enclen = 1; // the caller should move one byte to get past this
+ *enclen = 1; /* the caller should move one byte to get past this */
return ARES_SUCCESS;
}