mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 07:22:34 +00:00
Filan: Fixed diag_set() call in filan_main.c
This commit is contained in:
parent
783d688463
commit
b05b360320
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
CHANGES
|
@ -25,6 +25,9 @@ Corrections:
|
|||
Filan: If IP protocol type cannot be retrieved, display at least the
|
||||
socket type
|
||||
|
||||
Filan: Fixed diag_set() call in filan_main.c, bug popped up with C23.
|
||||
Thanks to Cristian Rodríguez from openSUSE for reporting this issue.
|
||||
|
||||
Coding:
|
||||
New Environment variable SOCAT_TRANSFER_WAIT that Socat sleep before
|
||||
starting the data transfer loop. Useful, e.g., to accumulate multiple
|
||||
|
|
|
@ -32,7 +32,7 @@ int main(int argc, const char *argv[]) {
|
|||
const char *outfname = NULL;
|
||||
unsigned long fildes;
|
||||
|
||||
diag_set('I', false);
|
||||
diag_set('I', NULL);
|
||||
diag_set('p', strchr(argv[0], '/') ? strrchr(argv[0], '/')+1 : argv[0]);
|
||||
|
||||
arg1 = argv+1; --argc;
|
||||
|
|
Loading…
Reference in a new issue