Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
2732ec4f
...
2732ec4fc32af0766a3ee1f55976093a42987195
authored
2003-08-13 11:28:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_seq_add): Update current_message if the sequence being set is "cur".
Free temporary storage.
1 parent
1f90a664
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
mh/mh_sequence.c
mh/mh_sequence.c
View file @
2732ec4
...
...
@@ -69,7 +69,7 @@ mh_seq_add (char *name, mh_msgset_t *mset, int flags)
char
*
new_value
,
*
p
;
char
buf
[
64
];
size_t
i
,
len
;
delete_sequence
(
name
,
!
(
flags
&
SEQ_PRIVATE
));
if
(
flags
&
SEQ_ZERO
)
...
...
@@ -100,6 +100,9 @@ mh_seq_add (char *name, mh_msgset_t *mset, int flags)
}
*
p
=
0
;
write_sequence
(
name
,
new_value
,
flags
&
SEQ_PRIVATE
);
if
(
strcasecmp
(
name
,
"cur"
)
==
0
)
current_message
=
strtoul
(
new_value
,
NULL
,
0
);
free
(
new_value
);
}
static
int
...
...
Please
register
or
sign in
to post a comment