diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-09-29 14:37:47 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-09-29 14:37:47 +0000 |
commit | edf19010776aee7913d5866ed290349f5b333251 (patch) | |
tree | 161595d9d9472f6035651bcb4389dc2844525798 /ares_expand_name.c | |
parent | 053ffe405d4061bd7532ec8656eca0ab1f515aee (diff) | |
download | c-ares-edf19010776aee7913d5866ed290349f5b333251.tar.gz c-ares-edf19010776aee7913d5866ed290349f5b333251.tar.bz2 c-ares-edf19010776aee7913d5866ed290349f5b333251.zip |
We should standarise on C comments.
Diffstat (limited to 'ares_expand_name.c')
-rw-r--r-- | ares_expand_name.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ares_expand_name.c b/ares_expand_name.c index ffa26e6..3049970 100644 --- a/ares_expand_name.c +++ b/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; } |