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
cdf51934
...
cdf51934dc29acfb379e02f634c0ad61d04794f8
authored
2002-12-11 15:17:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Include string.h. Add typecasts to the arguments of printf-like functions where necessary.
1 parent
7c36ae29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
examples/addr.c
examples/base64.c
examples/addr.c
View file @
cdf5193
...
...
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <mailutils/address.h>
#include <mailutils/errno.h>
...
...
@@ -46,7 +47,7 @@ parse (const char *str)
}
else
{
printf
(
"%s=> pcount %
d
\n
"
,
str
,
pcount
);
printf
(
"%s=> pcount %
lu
\n
"
,
str
,
(
unsigned
long
)
pcount
);
}
for
(
no
=
1
;
no
<=
pcount
;
no
++
)
...
...
@@ -56,7 +57,7 @@ parse (const char *str)
address_is_group
(
address
,
no
,
&
isgroup
);
printf
(
"%
d "
,
no
);
printf
(
"%
lu "
,
(
unsigned
long
)
no
);
if
(
isgroup
)
{
...
...
examples/base64.c
View file @
cdf5193
...
...
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <string.h>
#include <mailutils/mailutils.h>
int
...
...
Please
register
or
sign in
to post a comment