Author: Luciano Bello Description: According to /usr/include/time.h, CLK_TCK is the "obsolete POSIX.1-1988 name" for CLOCKS_PER_SEC. Closes #420944 --- a/sshow.c 2011-06-19 17:15:16.175999374 -0500 +++ b/sshow.c 2011-06-19 17:15:31.875999369 -0500 @@ -224,7 +224,7 @@ if (debug) printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n", s_saddr(ts), s_daddr(ts), s_range(plain_range), - (float)delay / CLK_TCK); + (float)delay / CLOCKS_PER_SEC); if (debug > 1) print_data(&ts->server, cipher_size); @@ -273,7 +273,7 @@ if (debug) printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n", s_saddr(ts), s_daddr(ts), s_range(plain_range), - (float)delay / CLK_TCK); + (float)delay / CLOCKS_PER_SEC); if (debug > 1) print_data(&ts->client, cipher_size); @@ -302,7 +302,7 @@ if (session->state == 1 && #ifdef USE_TIMING - now - get_history(session, 2)->timestamp >= CLK_TCK && + now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC && #endif session->protocol == 1 && (session->history.directions & 7) == 5 &&