mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
Fixed Debug arguments issue in _socat()
This commit is contained in:
parent
48baca4c0f
commit
7ad17dcd90
2 changed files with 5 additions and 5 deletions
2
CHANGES
2
CHANGES
|
@ -245,6 +245,8 @@ corrections:
|
|||
Options shut-none, shut-down, shut-close all might not have worked
|
||||
correctly. Thanks to Ray Song for reporting this issue.
|
||||
|
||||
Fixed Debug arguments issue in _socat()
|
||||
|
||||
porting:
|
||||
Red Hat issue 1020203: configure checks fail with some compilers.
|
||||
Use case: clang
|
||||
|
|
|
@ -137,12 +137,10 @@ int _socat(xiofile_t *xfd1, xiofile_t *xfd2) {
|
|||
XIO_RDSTREAM(sock2)->eof <= 1) {
|
||||
struct timeval timeout, *to = NULL;
|
||||
|
||||
Debug4("data loop: sock1->eof=%d, sock2->eof=%d, 1->closing=%d, 2->closing=%d, wasaction=%d, total_to={"F_tv_sec"."F_tv_usec"}",
|
||||
Debug7("data loop: sock1->eof=%d, sock2->eof=%d, 1->closing=%d, 2->closing=%d, wasaction=%d, total_to={"F_tv_sec"."F_tv_usec"}",
|
||||
XIO_RDSTREAM(sock1)->eof, XIO_RDSTREAM(sock2)->eof,
|
||||
sock1->stream.closing, sock2->stream.closing);
|
||||
Debug6("wasaction=%d, total_to={"F_tv_sec"."F_tv_usec"}",
|
||||
wasaction, total_timeout.tv_sec, total_timeout.tv_usec, wasaction,
|
||||
total_timeout.tv_sec, total_timeout.tv_usec);
|
||||
sock1->stream.closing, sock2->stream.closing,
|
||||
wasaction, total_timeout.tv_sec, total_timeout.tv_usec);
|
||||
|
||||
/* for ignoreeof */
|
||||
if (polling) {
|
||||
|
|
Loading…
Reference in a new issue