/* stats */
- fprintf(stderr, "\n--- %s websocket ping statistics "
+ if (global_rx_count && global_tx_count)
+ fprintf(stderr, "\n--- %s websocket ping statistics "
"using %d connections ---\n"
"%lu packets transmitted, %lu received, "
"%lu%% packet loss, time %ldms\n"