projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Protect precious strlens, as pointed out by John Goerzen
[citadel.git]
/
citadel
/
modules
/
ctdlproto
/
serv_messages.c
diff --git
a/citadel/modules/ctdlproto/serv_messages.c
b/citadel/modules/ctdlproto/serv_messages.c
index 31e48cb8c3077409ae9827f84b303e51208dd267..0751e28a91ead449f721e3f30d99c26aaecdd056 100644
(file)
--- a/
citadel/modules/ctdlproto/serv_messages.c
+++ b/
citadel/modules/ctdlproto/serv_messages.c
@@
-598,7
+598,7
@@
void cmd_ent0(char *entargs)
}
free(all_recps);
}
free(all_recps);
- if ((valid != NULL) && (valid->num_room == 1))
+ if ((valid != NULL) && (valid->num_room == 1)
&& !IsEmptyStr(valid->recp_orgroom)
)
{
/* posting into an ML room? set the envelope from
* to the actual mail address so others get a valid
{
/* posting into an ML room? set the envelope from
* to the actual mail address so others get a valid