mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:57:16 +03:00
We should standarise on C comments.
This commit is contained in:
parent
7a7f490efa
commit
b01ab65225
1 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue