1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-19 17:32:57 +00:00

Filan: Fixed diag_set() call in filan_main.c

This commit is contained in:
Gerhard Rieger 2023-01-15 15:50:19 +01:00
parent 783d688463
commit b05b360320
2 changed files with 4 additions and 1 deletions

View file

@ -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;