Closed loveshipting closed 2 years ago
Hi, looks good, please correct the formatting (space before comma in the argument lists) and add a NULL check before the timeout callback is run (and a better name than "of"? what does "of" mean?). The timeout callback will be NULL when unused.
Check, please. By the way, the compiling is OK, but My local format is not match yours, if may not match yours, sorry. And What kind of formatting code tool you use?
Thanks, it's merged (github is confused, because I did it from the command line, I think?). I will close this now.
Added some small fixes. The formatting was done with CLion.
add timeout callback for the Listener