summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-28 16:27:53 +0200
committerdefault <nobody@localhost>2022-09-28 16:27:53 +0200
commit7ae3064210123fe19cb036c7b879418e1262ec2f (patch)
tree84455eed7c9e7b4c7b34974924a97f1af4dae681 /html.c
parenta22a515e0f45071c892d30373f6a799cef5ccb00 (diff)
Better coping with timeouts.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 4161d83..c7c1b85 100644
--- a/html.c
+++ b/html.c
@@ -458,7 +458,7 @@ d_char *html_entry(snac *snac, d_char *s, char *msg, xs_set *seen, int level)
if (url != NULL) {
xs *s1 = xs_fmt("<p><img src=\"%s\" alt=\"%s\"/></p>\n",
- url, name == NULL ? "" : name);
+ url, xs_is_null(name) ? "" : name);
s = xs_str_cat(s, s1);
}