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
aad77411
...
aad77411b67cc9947ffe6610b68d32150384da08
authored
2007-07-09 17:31:11 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix format string
1 parent
60d2a5ac
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
examples/mta.c
libproto/imap/folder.c
libproto/nntp/folder.c
mimeview/mimetypes.l
examples/mta.c
View file @
aad7741
...
...
@@ -404,7 +404,7 @@ message_finalize (mu_message_t msg, int warn)
{
if
(
add_recipient
(
value
))
{
mu_error
(
"%s: bad address %s
: %s
"
,
progname
,
value
);
mu_error
(
"%s: bad address %s"
,
progname
,
value
);
return
1
;
}
free
(
value
);
...
...
libproto/imap/folder.c
View file @
aad7741
...
...
@@ -547,8 +547,7 @@ tls (mu_folder_t folder)
return
-
1
;
FOLDER_DEBUG1
(
folder
,
MU_DEBUG_PROT
,
"g%u STARTTLS
\n
"
,
f_imap
->
seq
);
status
=
imap_writeline
(
f_imap
,
"g%u STARTTLS
\r\n
"
,
f_imap
->
seq
++
,
f_imap
->
user
,
f_imap
->
passwd
);
status
=
imap_writeline
(
f_imap
,
"g%u STARTTLS
\r\n
"
,
f_imap
->
seq
++
);
CHECK_ERROR
(
f_imap
,
status
);
status
=
imap_send
(
f_imap
);
CHECK_ERROR
(
f_imap
,
status
);
...
...
@@ -579,7 +578,6 @@ folder_imap_open (mu_folder_t folder, int flags)
const
char
*
host
;
long
port
=
143
;
/* default imap port. */
int
status
=
0
;
size_t
len
=
0
;
/* If we are already open for business, noop. */
mu_monitor_wrlock
(
folder
->
monitor
);
...
...
@@ -637,7 +635,8 @@ folder_imap_open (mu_folder_t folder, int flags)
}
else
mu_stream_close
(
folder
->
stream
);
FOLDER_DEBUG2
(
folder
,
MU_DEBUG_PROT
,
"imap_open (%s:%d)
\n
"
,
host
,
port
);
FOLDER_DEBUG2
(
folder
,
MU_DEBUG_PROT
,
"imap_open (%s:%ld)
\n
"
,
host
,
port
);
f_imap
->
state
=
IMAP_OPEN_CONNECTION
;
case
IMAP_OPEN_CONNECTION
:
...
...
libproto/nntp/folder.c
View file @
aad7741
...
...
@@ -127,7 +127,7 @@ nntp_folder_open (mu_folder_t folder, int flags)
return
status
;
/* Ask for the stream internal buffering mechanism scheme. */
mu_stream_setbufsiz
(
carrier
,
BUFSIZ
);
FOLDER_DEBUG2
(
folder
,
MU_DEBUG_PROT
,
"folder_nntp_open (%s:%d)
\n
"
,
FOLDER_DEBUG2
(
folder
,
MU_DEBUG_PROT
,
"folder_nntp_open (%s:%
l
d)
\n
"
,
host
,
port
);
status
=
mu_nntp_create
(
&
f_nntp
->
nntp
);
...
...
mimeview/mimetypes.l
View file @
aad7741
...
...
@@ -192,7 +192,7 @@ mimetypes_close ()
int
yyerror (char *s)
{
mu_error ("%s:%
lu
: %s", file_name, line_num, s);
mu_error ("%s:%
d
: %s", file_name, line_num, s);
return 0;
}
...
...
Please
register
or
sign in
to post a comment