X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsortm.c;h=d7dae6127be577772cd8c51b776749444370d20c;hb=ac2834b4173be67edde1334819d3d3c16e4d484e;hp=0d8e39da14339d8c2a986e7079ca1699a64e27aa;hpb=246ca516a0f7b870316116bc184347b0fb2bc00b;p=mmh diff --git a/uip/sortm.c b/uip/sortm.c index 0d8e39d..d7dae61 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -28,7 +28,7 @@ static struct swit switches[] = { #define NVERBSW 7 { "noverbose", 0 }, #define VERSIONSW 8 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 9 { "help", 0 }, { NULL, 0 } @@ -43,8 +43,8 @@ struct smsg { static struct smsg *smsgs; int nmsgs; -char *subjsort = (char *) 0; /* sort on subject if != 0 */ -unsigned long datelimit = 0; +char *subjsort = NULL; /* sort on subject if != 0 */ +time_t datelimit = 0; int submajor = 0; /* if true, sort on subject-major */ int verbose; @@ -126,7 +126,7 @@ main(int argc, char **argv) subjsort = "subject"; continue; case NSUBJSW: - subjsort = (char *)0; + subjsort = NULL; continue; case LIMSW: @@ -165,7 +165,7 @@ main(int argc, char **argv) } if (!msgs.size) - app_msgarg(&msgs, "all"); + app_msgarg(&msgs, seq_all); if (!datesw) datesw = "date"; if (!folder)