From cc9f9fd2c30140866d083e6bd2c44c4c4b7151e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B5=D0=BB=D0=BE=D0=B3=D1=80=D1=83=D0=B4=D0=BE?= =?UTF-8?q?=D0=B2=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=A1=D0=B5?= =?UTF-8?q?=D1=80=D0=B3=D0=B5=D0=B5=D0=B2=D0=B8=D1=87?= Date: Wed, 6 Aug 2025 19:19:46 +0300 Subject: [PATCH 1/2] str2str: fix use logs in console app after each stream (-fl), the ability to write log files --- app/consapp/str2str/str2str.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/consapp/str2str/str2str.c b/app/consapp/str2str/str2str.c index d6d9cf7b1..d15a7b6d8 100644 --- a/app/consapp/str2str/str2str.c +++ b/app/consapp/str2str/str2str.c @@ -290,7 +290,7 @@ int main(int argc, char **argv) char *local="",*proxy="",*opt="",buff[256],*p; char strmsg[MAXSTRMSG]="",*antinfo="",*rcvinfo=""; char *ant[]={"","",""},*rcv[]={"","",""},*logfile=""; - int i,j,n=0,dispint=5000,trlevel=0,opts[]={10000,10000,2000,32768,10,0,30,0}; + int i,j,n=0,count_stream=0,dispint=5000,trlevel=0,opts[]={10000,10000,2000,32768,10,0,30,0}; int types[MAXSTR]={STR_FILE,STR_FILE},stat[MAXSTR]={0},log_stat[MAXSTR]={0}; int byte[MAXSTR]={0},bps[MAXSTR]={0},fmts[MAXSTR]={0},sta=0; int deamon=0; @@ -307,6 +307,7 @@ int main(int argc, char **argv) for (i=1;i Date: Thu, 7 Aug 2025 10:27:35 +0300 Subject: [PATCH 2/2] str2str(fix): unnecessary increase in the variable --- app/consapp/str2str/str2str.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/consapp/str2str/str2str.c b/app/consapp/str2str/str2str.c index d15a7b6d8..903fa4111 100644 --- a/app/consapp/str2str/str2str.c +++ b/app/consapp/str2str/str2str.c @@ -307,7 +307,6 @@ int main(int argc, char **argv) for (i=1;i