radio

radio.ircforever.org
git clone git://git.ircforever.org/radio
Log | Files | Refs | Submodules | README | LICENSE

commit 52f67e05ec4e1f882be166917c74a28617fe4fa6
parent 5080eb62ec43e44094bd57a060126b577eb1ba50
Author: libredev <libredev@ircforever.org>
Date:   Sun,  8 Jan 2023 15:59:49 +0530

fix whitespace on comment body

Diffstat:
Mcomment.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/comment.c b/comment.c @@ -106,10 +106,10 @@ comment_list_print(struct comment_list *clist) puts("<h2> Comments: </h2>"); puts("<hr>"); for (it = clist; it != NULL; it = it->next) { - printf("<p><b> %s </b> %s </p>\n", + printf("<p><b>%s</b>%s</p>\n", it->name ? it->name : "Anonymous", it->email ? it->email : ""); - printf("<pre> %s </pre>\n", it->body); + printf("<pre>%s</pre>\n", it->body); puts("<hr>"); } }