From: Gisle Vanem Date: Sat, 29 Sep 2007 14:37:47 +0000 (+0000) Subject: We should standarise on C comments. X-Git-Tag: upstream/1.10.0~950 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edf19010776aee7913d5866ed290349f5b333251;p=platform%2Fupstream%2Fc-ares.git We should standarise on C comments. --- 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; }