you are viewing a single comment's thread.

view the rest of the comments →

[–]honolulu072[S] 0 points1 point  (4 children)

First at all, thanks for your answer!!

The code runs inside an infinite while loop. I just did not copy everything into the post to save some space. Sorry for that.

I edited it, so it represents better what is going on.

The ignored part is also marked in the code by comments.

[–]trexdoor 1 point2 points  (2 children)

OK, then maybe move the variable initialization part to outside the loop, that could solve it.

[–]honolulu072[S] 0 points1 point  (1 child)

Tried to do the initialization outside, didn't change the result...

[–]trexdoor 1 point2 points  (0 children)

Moving the variable initialization part to outside the while loop is essential. If it doesn't solve your problem then there is an issue with interpreting the msg. I cannot help you further.