projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We have only numeric timezone support (e.g. +0200) from now on.
[mmh]
/
uip
/
rcvstore.c
diff --git
a/uip/rcvstore.c
b/uip/rcvstore.c
index
b934220
..
fc98b4a
100644
(file)
--- a/
uip/rcvstore.c
+++ b/
uip/rcvstore.c
@@
-11,7
+11,6
@@
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
static struct swit switches[] = {
#define CRETSW 0
static struct swit switches[] = {
#define CRETSW 0
@@
-52,7
+51,8
@@
main(int argc, char **argv)
{
int publicsw = -1, zerosw = 0;
int create = 1, unseensw = 1;
{
int publicsw = -1, zerosw = 0;
int create = 1, unseensw = 1;
- int fd, msgnum, seqp = 0;
+ int fd, msgnum;
+ size_t seqp = 0;
char *cp, *maildir, *folder = NULL, buf[BUFSIZ];
char **argp, **arguments, *seqs[NUMATTRS+1];
struct msgs *mp;
char *cp, *maildir, *folder = NULL, buf[BUFSIZ];
char **argp, **arguments, *seqs[NUMATTRS+1];
struct msgs *mp;
@@
-68,7
+68,6
@@
main(int argc, char **argv)
/* read user profile/context */
context_read();
/* read user profile/context */
context_read();
- mts_init(invo_name);
arguments = getarguments(invo_name, argc, argv, 1);
argp = arguments;
arguments = getarguments(invo_name, argc, argv, 1);
argp = arguments;
@@
-215,7
+214,7
@@
main(int argc, char **argv)
done(1);
}
done(1);
}
- seq_setunseen(mp, 0); /* synchronize any Unseen-Sequence's */
+ seq_setunseen(mp, 1); /* add new msgs to unseen sequences */
seq_save(mp); /* synchronize and save message sequences */
folder_free(mp); /* free folder/message structure */
seq_save(mp); /* synchronize and save message sequences */
folder_free(mp); /* free folder/message structure */