Skip to content

Commit

Permalink
Merge pull request #163 from MarkusMultrus/gen-patt-fix-sta-name-writing
Browse files Browse the repository at this point in the history
Quick fix for string memory initialization issue. See #161 and #168.
  • Loading branch information
ludomal authored Apr 30, 2023
2 parents e2a74c7 + 1af4b74 commit 139db49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utl/ugstdemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
fprintf (stderr,"%s%c\n",msg,C);}

#define FIND_PAR_S(p,msg,i,dft) \
{ memmove(i,(argc>p)?argv[p]:dft, strlen((argc>p)?argv[p]:dft));\
{ memmove(i,(argc>p)?argv[p]:dft, strlen((argc>p)?argv[p]:dft)+1);\
fprintf (stderr,"%s%s\n",msg,i); }

#define FIND_PAR_L(p,msg,i,j) \
Expand Down

0 comments on commit 139db49

Please sign in to comment.