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
cdf31d94
...
cdf31d94a3dd6c5bf76d44fe21caaeaa587d82b3
authored
2002-03-12 03:48:15 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Corrected type mismatches visible on 64-bit systems.
1 parent
88bd58a0
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
11 deletions
imap4d/copy.c
imap4d/store.c
imap4d/util.c
lib/strchrnul.c
mail/mail.c
mail/mail.h
mail/send.c
mail/size.c
mail/util.c
messages/messages.c
imap4d/copy.c
View file @
cdf31d9
...
...
@@ -52,7 +52,7 @@ imap4d_copy0 (char *arg, int isuid, char *resp, size_t resplen)
const
char
*
delim
=
"/"
;
char
*
sp
=
NULL
;
size_t
*
set
=
NULL
;
size_
t
n
=
0
;
in
t
n
=
0
;
mailbox_t
cmbox
=
NULL
;
msgset
=
util_getword
(
arg
,
&
sp
);
...
...
imap4d/store.c
View file @
cdf31d9
...
...
@@ -43,7 +43,8 @@ imap4d_store0 (char *arg, int isuid, char *resp, size_t resplen)
char
*
sp
=
NULL
;
int
status
;
int
ack
=
0
;
size_t
i
,
n
=
0
;
size_t
i
;
int
n
=
0
;
size_t
*
set
=
NULL
;
enum
value_type
{
STORE_SET
,
STORE_ADD
,
STORE_UNSET
}
how
;
...
...
imap4d/util.c
View file @
cdf31d9
...
...
@@ -566,7 +566,7 @@ sc2string (int rc)
static
int
add2set
(
size_t
**
set
,
int
*
n
,
unsigned
long
val
)
{
in
t
*
tmp
;
size_
t
*
tmp
;
tmp
=
realloc
(
*
set
,
(
*
n
+
1
)
*
sizeof
(
**
set
));
if
(
tmp
==
NULL
)
{
...
...
lib/strchrnul.c
View file @
cdf31d9
...
...
@@ -29,7 +29,7 @@ strchrnul (s, c_in)
const
char
*
s
;
int
c_in
;
{
const
unsigned
char
*
char_ptr
;
const
char
*
char_ptr
;
const
unsigned
long
int
*
longword_ptr
;
unsigned
long
int
longword
,
magic_bits
,
charmask
;
unsigned
char
c
;
...
...
mail/mail.c
View file @
cdf31d9
...
...
@@ -21,7 +21,7 @@
mailbox_t
mbox
;
unsigned
int
cursor
;
unsigned
int
realcursor
;
unsigned
in
t
total
;
size_
t
total
;
FILE
*
ofile
;
int
interactive
;
...
...
mail/mail.h
View file @
cdf31d9
...
...
@@ -26,6 +26,9 @@
# include <dmalloc.h>
#endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
...
...
@@ -127,7 +130,7 @@ struct message_set
extern
mailbox_t
mbox
;
extern
unsigned
int
cursor
;
extern
unsigned
int
realcursor
;
extern
unsigned
in
t
total
;
extern
size_
t
total
;
extern
FILE
*
ofile
;
extern
int
interactive
;
extern
const
struct
mail_command_entry
mail_command_table
[];
...
...
mail/send.c
View file @
cdf31d9
...
...
@@ -254,7 +254,7 @@ mail_send0 (struct send_environ *env, int save_to)
else
{
char
*
buf
=
NULL
;
unsigned
in
t
n
;
size_
t
n
;
rewind
(
env
->
file
);
while
(
getline
(
&
buf
,
&
n
,
env
->
file
)
>
0
)
fputs
(
buf
,
fp
);
...
...
@@ -428,7 +428,7 @@ msg_to_pipe (const char *cmd, message_t msg)
stream_t
stream
=
NULL
;
char
buffer
[
512
];
off_t
off
=
0
;
unsigned
in
t
n
=
0
;
size_
t
n
=
0
;
message_get_stream
(
msg
,
&
stream
);
while
(
stream_read
(
stream
,
buffer
,
sizeof
buffer
-
1
,
off
,
&
n
)
==
0
&&
n
!=
0
)
...
...
mail/size.c
View file @
cdf31d9
...
...
@@ -28,7 +28,7 @@ mail_size (int argc, char **argv)
util_msglist_command
(
mail_size
,
argc
,
argv
,
1
);
else
{
unsigned
in
t
s
=
0
;
size_
t
s
=
0
;
message_t
msg
;
if
(
mailbox_get_message
(
mbox
,
cursor
,
&
msg
)
!=
0
)
{
...
...
mail/util.c
View file @
cdf31d9
...
...
@@ -832,7 +832,7 @@ util_descend_subparts (message_t mesg, msgset_t *msgset, message_t *part)
for
(
i
=
1
;
i
<
msgset
->
npart
;
i
++
)
{
message_t
submsg
=
NULL
;
unsigned
in
t
nparts
=
0
;
size_
t
nparts
=
0
;
char
*
type
=
NULL
;
header_t
hdr
=
NULL
;
...
...
messages/messages.c
View file @
cdf31d9
...
...
@@ -96,7 +96,7 @@ messages_count (const char *box)
{
mailbox_t
mbox
;
url_t
url
=
NULL
;
in
t
count
;
size_
t
count
;
if
(
mailbox_create_default
(
&
mbox
,
box
)
!=
0
)
{
...
...
Please
register
or
sign in
to post a comment