Adding:
fileName[0] = '\0';
after
char fileName[13];
solved the issue. (so I thought, unfortunately not, see further posts)
I thought I leave the post; maybe someone else can use it.
Adding:
fileName[0] = '\0';
after
char fileName[13];
solved the issue. (so I thought, unfortunately not, see further posts)
I thought I leave the post; maybe someone else can use it.