summaryrefslogtreecommitdiff
path: root/pith/mailcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/mailcmd.c')
-rw-r--r--pith/mailcmd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pith/mailcmd.c b/pith/mailcmd.c
index 609578fc..c5544f20 100644
--- a/pith/mailcmd.c
+++ b/pith/mailcmd.c
@@ -2342,6 +2342,12 @@ agg_text_select(MAILSTREAM *stream, MSGNO_S *msgmap, char type, char *namehdr,
if(!mepgm)
switch(type){
+ case 'g' : /* X-GM-EXT-1 */
+ pgm->x_gm_ext1 = mail_newstringlist();
+ pgm->x_gm_ext1->text.data = (unsigned char *) cpystr(namehdr);
+ pgm->x_gm_ext1->text.size = strlen(namehdr);
+ break;
+
case 'h' : /* Any header */
pgm->header = mail_newsearchheader (namehdr, sstring);
break;