The closing bracket was emitted for the "debug" converter even when the
opening one was not sent, and the new line was not always emitted. Let's
fix this. This is harmless since this converter is not built by default.
else {
/* Display the displayable chars*. */
- fprintf(stderr, "<");
+ fputc('<', stderr);
for (i = 0; i < tmp.data.u.str.data; i++) {
if (isprint(tmp.data.u.str.area[i]))
fputc(tmp.data.u.str.area[i],
else
fputc('.', stderr);
}
+ fputc('>', stderr);
}
- fprintf(stderr, ">\n");
}
+ fputc('\n', stderr);
}
return 1;
}