mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Convert to C-style comments.
This commit is contained in:
committed by
Simon Kelley
parent
28f04fd647
commit
dd090561bf
@@ -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