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
daa79c25
...
daa79c25764e300461e025dcd1898e312996cdeb
authored
2000-08-23 18:41:16 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Maybe it was the codeine ?? variable was not initialize.
1 parent
c948b18a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
mailbox/attribute.c
mailbox/message.c
mailbox/attribute.c
View file @
daa79c2
...
...
@@ -171,7 +171,7 @@ attribute_is_recent (attribute_t attr)
/* something is recent when it is not read and not seen. */
return
(
attr
->
flag
==
0
||
!
((
attr
->
flag
&
MU_ATTRIBUTE_SEEN
)
&&
(
attr
->
flag
&
MU_ATTRIBUTE_READ
));
&&
(
attr
->
flag
&
MU_ATTRIBUTE_READ
))
)
;
}
int
...
...
@@ -233,7 +233,7 @@ attribute_unset_recent (attribute_t attr)
{
if
(
attr
==
NULL
)
return
0
;
attr
->
|=
MU_ATTRIBUTE_SEEN
;
attr
->
flag
|=
MU_ATTRIBUTE_SEEN
;
return
0
;
}
...
...
mailbox/message.c
View file @
daa79c2
...
...
@@ -560,7 +560,7 @@ message_write (stream_t os, const char *buf, size_t buflen,
{
message_t
msg
;
int
status
=
0
;
size_t
bufsize
=
0
;
size_t
bufsize
=
buflen
;
if
(
os
==
NULL
||
(
msg
=
os
->
owner
)
==
NULL
)
return
EINVAL
;
...
...
@@ -653,7 +653,7 @@ message_write (stream_t os, const char *buf, size_t buflen,
buflen
-=
written
;
}
if
(
pnwrite
)
*
pnwrite
=
busize
-
buflen
;
*
pnwrite
=
bu
f
size
-
buflen
;
return
status
;
}
...
...
Please
register
or
sign in
to post a comment