With the recent surge in Omicron cases, shipping may be slower than stated times. We are working to build, ship and respond to everything as quickly as possible. Please see all COVID-19 updates here. Thank you for your continued support.

Member #141589

Member Since: July 8, 2010

Country: United States

  • No, this is completely legal. They set msg to point to a string with one character "1" in it. Later they send this 1-char string via vw_send(). The whole code is not efficient of course, calling strlen() on smth that is always having just one char is just waste of code and CPU, they could've gotten away with a single char variable instead of using a C string. But this is just an example, so as long as it's readable and clear, it's OK,

No public wish lists :(