projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more places where we can use cm_lengths;
[citadel.git]
/
citadel
/
modules
/
extnotify
/
extnotify_main.c
diff --git
a/citadel/modules/extnotify/extnotify_main.c
b/citadel/modules/extnotify/extnotify_main.c
index 46c9ab8ea415cd206cdf643360c17ee99ab124c6..8eafc036a61b09e39fbbd54583cc2768dd59e10c 100644
(file)
--- a/
citadel/modules/extnotify/extnotify_main.c
+++ b/
citadel/modules/extnotify/extnotify_main.c
@@
-351,7
+351,7
@@
void process_notify(long NotifyMsgnum, void *usrdata)
commandSiz = sizeof(config.c_pager_program) +
strlen(PagerNo) +
-
strlen(msg->cm_fields[eExtnotify])
+ 5;
+
msg->cm_lengths[eExtnotify]
+ 5;
command = malloc(commandSiz);