Commit dd090561 authored by Giovanni Bajo's avatar Giovanni Bajo Committed by Simon Kelley

Convert to C-style comments.

parent 28f04fd6
...@@ -45,12 +45,12 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf) ...@@ -45,12 +45,12 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf)
} }
*buf++ = '.'; *buf++ = '.';
} }
// Remove trailing dot (if any) /* Remove trailing dot (if any) */
if (rr != start) if (rr != start)
*(--buf) = 0; *(--buf) = 0;
if (rr == end) if (rr == end)
return 0; return 0;
// Trailing \0 in source data must be consumed /* Trailing \0 in source data must be consumed */
return rr-start+1; return rr-start+1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment