X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Fextnotify_main.c;fp=citadel%2Fmodules%2Fextnotify%2Fextnotify_main.c;h=8eafc036a61b09e39fbbd54583cc2768dd59e10c;hp=46c9ab8ea415cd206cdf643360c17ee99ab124c6;hb=55013f95f08eafe1b375df4241e8defe387c6cdc;hpb=2b80e75820618944e1c75b9c01aeeefc8b6b0c81 diff --git a/citadel/modules/extnotify/extnotify_main.c b/citadel/modules/extnotify/extnotify_main.c index 46c9ab8ea..8eafc036a 100644 --- 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);