mirror of
https://repo.or.cz/socat.git
synced 2024-12-23 15:52:33 +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
|
Options shut-none, shut-down, shut-close all might not have worked
|
||||||
correctly. Thanks to Ray Song for reporting this issue.
|
correctly. Thanks to Ray Song for reporting this issue.
|
||||||
|
|
||||||
|
Fixed Debug arguments issue in _socat()
|
||||||
|
|
||||||
porting:
|
porting:
|
||||||
Red Hat issue 1020203: configure checks fail with some compilers.
|
Red Hat issue 1020203: configure checks fail with some compilers.
|
||||||
Use case: clang
|
Use case: clang
|
||||||
|
|
|
@ -137,12 +137,10 @@ int _socat(xiofile_t *xfd1, xiofile_t *xfd2) {
|
||||||
XIO_RDSTREAM(sock2)->eof <= 1) {
|
XIO_RDSTREAM(sock2)->eof <= 1) {
|
||||||
struct timeval timeout, *to = NULL;
|
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,
|
XIO_RDSTREAM(sock1)->eof, XIO_RDSTREAM(sock2)->eof,
|
||||||
sock1->stream.closing, sock2->stream.closing);
|
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, wasaction,
|
|
||||||
total_timeout.tv_sec, total_timeout.tv_usec);
|
|
||||||
|
|
||||||
/* for ignoreeof */
|
/* for ignoreeof */
|
||||||
if (polling) {
|
if (polling) {
|
||||||
|
|
Loading…
Reference in a new issue