more places where we can use cm_lengths;
[citadel.git] / citadel / modules / extnotify / extnotify_main.c
index 46c9ab8ea415cd206cdf643360c17ee99ab124c6..8eafc036a61b09e39fbbd54583cc2768dd59e10c 100644 (file)
@@ -351,7 +351,7 @@ void process_notify(long NotifyMsgnum, void *usrdata)
 
                        commandSiz = sizeof(config.c_pager_program) +
                                strlen(PagerNo) +
 
                        commandSiz = sizeof(config.c_pager_program) +
                                strlen(PagerNo) +
-                               strlen(msg->cm_fields[eExtnotify]) + 5;
+                               msg->cm_lengths[eExtnotify] + 5;
 
                        command = malloc(commandSiz);
 
 
                        command = malloc(commandSiz);