summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgit <git>2015-11-25 01:11:42 +0000
committergit <git>2015-11-25 01:11:42 +0000
commitc12b0059b765a3eb1f67022b48eaba929901ec8e (patch)
tree72454f86aff202709d13a50324d35039b6d39b16
parent77a4921b25313ffcf97d3909e3111df73e1f42ba (diff)
downloadopentracker-c12b0059b765a3eb1f67022b48eaba929901ec8e.tar.gz
opentracker-c12b0059b765a3eb1f67022b48eaba929901ec8e.zip
Accept was counted twice
-rw-r--r--ot_http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ot_http.c b/ot_http.c
index 497c6c6..46352be 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -511,8 +511,9 @@ static ssize_t http_handle_announce( const int64 sock, struct ot_workstruct *ws,
numwants[numwant]++;
#endif
- /* XXX DEBUG */
+ /* XXX DEBUG
stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ws->reply );
+ */
/* Scanned whole query string */
if( !ws->hash )
@@ -631,4 +632,4 @@ ssize_t http_handle_request( const int64 sock, struct ot_workstruct *ws ) {
return ws->reply_size;
}
-const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.54 $\n";
+const char *g_version_http_c = "$Source: /home/cvsroot/opentracker/ot_http.c,v $: $Revision: 1.55 $\n";