mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-29 12:50:47 +00:00
Convert to C-style comments.
This commit is contained in:
1 parent
28f04fd647
commit
dd090561bf
1 file changed
+2
-2
+2
-2
@@ -45,12 +45,12 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf)
|
||||
}
|
||||
*buf++ = '.';
|
||||
}
|
||||
// Remove trailing dot (if any)
|
||||
/* Remove trailing dot (if any) */
|
||||
if (rr != start)
|
||||
*(--buf) = 0;
|
||||
if (rr == end)
|
||||
return 0;
|
||||
// Trailing \0 in source data must be consumed
|
||||
/* Trailing \0 in source data must be consumed */
|
||||
return rr-start+1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user