projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf7cc7
)
Check for NULL motd.
author
Pekka Riikonen
<priikone@silcnet.org>
Wed, 29 Oct 2003 10:06:29 +0000
(10:06 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Wed, 29 Oct 2003 10:06:29 +0000
(10:06 +0000)
apps/silcmap/silcmap_html.c
patch
|
blob
|
history
diff --git
a/apps/silcmap/silcmap_html.c
b/apps/silcmap/silcmap_html.c
index 834b446484bf5eb47f5f831a68ed683716e2534d..6e3c8577ddecaf6206f2764c62776fc203189165 100644
(file)
--- a/
apps/silcmap/silcmap_html.c
+++ b/
apps/silcmap/silcmap_html.c
@@
-281,7
+281,7
@@
bool silc_map_writehtml(SilcMap map, SilcMapConnection mapconn)
}
/* motd */
- if (mapconn->motd) {
+ if (mapconn->motd
&& mapconn->data.motd
) {
fprintf(fp, " <br /><hr ><br />\n");
fprintf(fp, "<b>Message of the Day:</b> <br />\n");