summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-11-25 02:11:29 +0100
committerDirk Engling <erdgeist@erdgeist.org>2015-11-25 02:11:29 +0100
commita215479d1a1f0df4759f95357538369664b57e6c (patch)
treeeaa558cef3a26082e4dc82bfb74ff44fcbb61ea6
parenta06c3cfeb7e67523ab6866ffc143a24f2533ecfc (diff)
Accept was counted twice
-rw-r--r--ot_http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index dc8bd4e..832f21d 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,
511 numwants[numwant]++; 511 numwants[numwant]++;
512#endif 512#endif
513 513
514 /* XXX DEBUG */ 514 /* XXX DEBUG
515 stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ws->reply ); 515 stats_issue_event( EVENT_ACCEPT, FLAG_TCP, (uintptr_t)ws->reply );
516 */
516 517
517 /* Scanned whole query string */ 518 /* Scanned whole query string */
518 if( !ws->hash ) 519 if( !ws->hash )