summaryrefslogtreecommitdiff
path: root/alpine/radio.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2014-12-07 19:42:37 -0700
committerEduardo Chappa <chappa@washington.edu>2014-12-07 19:42:37 -0700
commit20d433c77e32dc05c2accf8ab943c2a7d9738239 (patch)
tree4cf7be2b55ec529067a2867eb29ebcfe6c5758aa /alpine/radio.c
parent121a42f3d82c1b98c384857960d14b2057a95c41 (diff)
downloadalpine-20d433c77e32dc05c2accf8ab943c2a7d9738239.tar.xz
* new version 2.19.9993
* Aggregate operations allows bouncing a list of messages using a role. Suggested by Ulf-Dietrich Braumann. * Compilation error of module pith/reply.c if SMIME is not defined (as in Windows Alpine). There was a misplaced parenthesis. * Update to S/MIME to explain how to use a PKCS12 certificate in Alpine. * Fix error in compare_certs function, that would modify the name of the certificates after sorting them, and return when no certificates are given. * When replying to several messages, subject will be decoded first, and then stripped from re/fwd before they are compared to determine the subject of the replied message. * Add $(LIBINTL) to the flags to link rpdump, rpload, alpined and alpineldap because MAC OSX 10.8 x86_64 needs it. * When the download of an attachment is interrumpted, Alpine stills caches what was downloaded, making the download incomplete for subsequent calls of Alpine attempting to open the attachment. In the future, Alpine will not cache any downloaded part of the attachment when it is interrupted.
Diffstat (limited to 'alpine/radio.c')
-rw-r--r--alpine/radio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/alpine/radio.c b/alpine/radio.c
index 909617ee..2a946ebc 100644
--- a/alpine/radio.c
+++ b/alpine/radio.c
@@ -280,7 +280,7 @@ radio_buttons(char *utf8prompt, int line, ESCKEY_S *esc_list, int dflt,
if(flags & RB_RET_HELP){
if(help_text != NO_HELP)
- panic("RET_HELP and help in radio_buttons!");
+ alpine_panic("RET_HELP and help in radio_buttons!");
button_list[b].ch = '?';
button_list[b].rval = 3;
@@ -360,7 +360,7 @@ radio_buttons(char *utf8prompt, int line, ESCKEY_S *esc_list, int dflt,
clrbitmap(bitmap);
memset(fkey_table, NO_OP_COMMAND, 12 * sizeof(int));
if(flags & RB_RET_HELP && help_text != NO_HELP)
- panic("RET_HELP and help in radio_buttons!");
+ alpine_panic("RET_HELP and help in radio_buttons!");
/* if shown, always at position 0 */
if(help_text != NO_HELP || flags & RB_RET_HELP){
@@ -398,7 +398,7 @@ radio_buttons(char *utf8prompt, int line, ESCKEY_S *esc_list, int dflt,
&& esc_list[i-start].label[0] != '\0'){ /* visible */
if(i == 12){ /* special case where we put it in help slot */
if(help_text != NO_HELP)
- panic("Programming botch in radio_buttons(): too many keys");
+ alpine_panic("Programming botch in radio_buttons(): too many keys");
if(esc_list[i-start].ch != -2)
setbitn(0, bitmap); /* the help slot */
@@ -420,7 +420,7 @@ radio_buttons(char *utf8prompt, int line, ESCKEY_S *esc_list, int dflt,
rb_keymenu.keys[0].label = esc_list[i-start].label;
}
else
- panic("Botch in radio_buttons(): too many keys");
+ alpine_panic("Botch in radio_buttons(): too many keys");
}
}
else{
@@ -823,16 +823,16 @@ construct_combined_esclist(ESCKEY_S *list1, ESCKEY_S *list2)
*/
for(i=0; list1 && list1[i].ch != -1; i++){
if(list1[i].rval == list[j].rval)
- panic("1bad rval in d_r");
+ alpine_panic("1bad rval in d_r");
if(F_OFF(F_USE_FK,ps_global) && list1[i].ch == list[j].ch)
- panic("1bad ch in ccl");
+ alpine_panic("1bad ch in ccl");
}
for(i=0; list2 && list2[i].ch != -1; i++){
if(list2[i].rval == list[j].rval)
- panic("2bad rval in d_r");
+ alpine_panic("2bad rval in d_r");
if(F_OFF(F_USE_FK,ps_global) && list2[i].ch == list[j].ch)
- panic("2bad ch in ccl");
+ alpine_panic("2bad ch in ccl");
}
j++;
@@ -840,7 +840,7 @@ construct_combined_esclist(ESCKEY_S *list1, ESCKEY_S *list2)
/* the visible set */
for(i=0; list1 && list1[i].ch != -1; i++){
if(i >= KEYS_PER_LIST && list1[i].label[0] != '\0')
- panic("too many visible keys in ccl");
+ alpine_panic("too many visible keys in ccl");
list[j++] = list1[i];
}