mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 14:41:28 +00:00
Remove arg to inline_dotify
This commit is contained in:
parent
40167437d3
commit
d4d88d2ad0
|
@ -1143,14 +1143,14 @@ write_dns(int fd, struct query *q, char *data, int datalen, char downenc)
|
||||||
space -= (space / 57); /* space for dots */
|
space -= (space / 57); /* space for dots */
|
||||||
b64->encode(cnamebuf+1, &space, data, datalen);
|
b64->encode(cnamebuf+1, &space, data, datalen);
|
||||||
if (!b64->places_dots())
|
if (!b64->places_dots())
|
||||||
inline_dotify(cnamebuf, sizeof(cnamebuf), 57);
|
inline_dotify(cnamebuf, sizeof(cnamebuf));
|
||||||
} else {
|
} else {
|
||||||
cnamebuf[0] = 'H';
|
cnamebuf[0] = 'H';
|
||||||
if (!b32->places_dots())
|
if (!b32->places_dots())
|
||||||
space -= (space / 57); /* space for dots */
|
space -= (space / 57); /* space for dots */
|
||||||
b32->encode(cnamebuf+1, &space, data, datalen);
|
b32->encode(cnamebuf+1, &space, data, datalen);
|
||||||
if (!b32->places_dots())
|
if (!b32->places_dots())
|
||||||
inline_dotify(cnamebuf, sizeof(cnamebuf), 57);
|
inline_dotify(cnamebuf, sizeof(cnamebuf));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add dot (if it wasn't there already) and topdomain */
|
/* Add dot (if it wasn't there already) and topdomain */
|
||||||
|
|
Loading…
Reference in a new issue