summaryrefslogtreecommitdiff
path: root/ot_fullscrape.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_fullscrape.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_fullscrape.c')
-rw-r--r--ot_fullscrape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 17405b7..4cd0a44 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -80,8 +80,8 @@ void fullscrape_deinit( ) {
80 pthread_cancel( thread_id ); 80 pthread_cancel( thread_id );
81} 81}
82 82
83void fullscrape_deliver( int64 socket, ot_tasktype tasktype ) { 83void fullscrape_deliver( int64 sock, ot_tasktype tasktype ) {
84 mutex_workqueue_pushtask( socket, tasktype ); 84 mutex_workqueue_pushtask( sock, tasktype );
85} 85}
86 86
87static int fullscrape_increase( int *iovec_entries, struct iovec **iovector, 87static int fullscrape_increase( int *iovec_entries, struct iovec **iovector,