]> granicus.if.org Git - curl/commitdiff
We should standarise on C comments.
authorGisle Vanem <gvanem@broadpark.no>
Sat, 29 Sep 2007 14:37:47 +0000 (14:37 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sat, 29 Sep 2007 14:37:47 +0000 (14:37 +0000)
ares/ares_expand_name.c

index ffa26e6b56e6aa473eb897753566e5b4591995ce..30499702a84d204414f87b3d28e840ccfd93c10b 100644 (file)
@@ -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;
   }