summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2009-01-15 23:01:36 +0000
committererdgeist <>2009-01-15 23:01:36 +0000
commit66c906d5d3c100e5fe1e6f088bd1ea17c5831894 (patch)
tree33eb4f386d14327277689e66143d5e607b3eef98 /ot_stats.c
parent4ced0484abae55546e04954b3dafad46f9db348a (diff)
Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 30a599c..8de1a52 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -611,8 +611,8 @@ static void * stats_worker( void * args ) {
611 return NULL; 611 return NULL;
612} 612}
613 613
614void stats_deliver( int64 socket, int tasktype ) { 614void stats_deliver( int64 sock, int tasktype ) {
615 mutex_workqueue_pushtask( socket, tasktype ); 615 mutex_workqueue_pushtask( sock, tasktype );
616} 616}
617 617
618static pthread_t thread_id; 618static pthread_t thread_id;