projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Motd reply fix.
[silc.git]
/
apps
/
silcmap
/
silcmap_client.c
diff --git
a/apps/silcmap/silcmap_client.c
b/apps/silcmap/silcmap_client.c
index 651bd5647b827a74001f4272cf487d6d378af43c..a46f979607ac115c8829bd0c73beb9652de54715 100644
(file)
--- a/
apps/silcmap/silcmap_client.c
+++ b/
apps/silcmap/silcmap_client.c
@@
-440,8
+440,8
@@
silc_command_reply(SilcClient client, SilcClientConnection conn,
SILC_LOG_DEBUG(("MOTD command reply"));
- mapconn->data.motd =
strdup(motd)
;
- mapconn->motd_received =
TRU
E;
+ mapconn->data.motd =
motd ? strdup(motd) : NULL
;
+ mapconn->motd_received =
motd ? TRUE : FALS
E;
}
break;