git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9e0ed81
)
Fix debug_printf data size
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 8 Oct 2017 18:00:37 +0000
(19:00 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 8 Oct 2017 18:06:22 +0000
(19:06 +0100)
src/src/ip.c
patch
|
blob
|
history
diff --git
a/src/src/ip.c
b/src/src/ip.c
index ee91293fafece78926e8faba4d19a35cc3deff31..d17c48216fe6c4af16660be6ff492d73249826ae 100644
(file)
--- a/
src/src/ip.c
+++ b/
src/src/ip.c
@@
-262,7
+262,7
@@
if (fastopen_blob && tcp_fastopen_ok)
{
DEBUG(D_transport|D_v)
debug_printf("non-TFO mode connection attempt to %s, %d data\n",
{
DEBUG(D_transport|D_v)
debug_printf("non-TFO mode connection attempt to %s, %d data\n",
- address, fastopen_blob->len);
+ address,
(unsigned long)
fastopen_blob->len);
tcp_out_fastopen = fastopen_blob->len > 0 ? 2 : 1;
}
else if (errno == EINPROGRESS) /* expected if we had no cookie for peer */
tcp_out_fastopen = fastopen_blob->len > 0 ? 2 : 1;
}
else if (errno == EINPROGRESS) /* expected if we had no cookie for peer */
@@
-294,8
+294,8
@@
else
{
legacy_connect:
DEBUG(D_transport|D_v) if (fastopen_blob)
{
legacy_connect:
DEBUG(D_transport|D_v) if (fastopen_blob)
- debug_printf("non-TFO mode connection attempt to %s, %
d
data\n",
- address, fastopen_blob->len);
+ debug_printf("non-TFO mode connection attempt to %s, %
lu
data\n",
+ address,
(unsigned long)
fastopen_blob->len);
if ((rc = connect(sock, s_ptr, s_len)) >= 0)
if ( fastopen_blob && fastopen_blob->data && fastopen_blob->len
&& send(sock, fastopen_blob->data, fastopen_blob->len, 0) < 0)
if ((rc = connect(sock, s_ptr, s_len)) >= 0)
if ( fastopen_blob && fastopen_blob->data && fastopen_blob->len
&& send(sock, fastopen_blob->data, fastopen_blob->len, 0) < 0)