diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2015-11-25 02:11:29 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2015-11-25 02:11:29 +0100 |
| commit | a215479d1a1f0df4759f95357538369664b57e6c (patch) | |
| tree | eaa558cef3a26082e4dc82bfb74ff44fcbb61ea6 | |
| parent | a06c3cfeb7e67523ab6866ffc143a24f2533ecfc (diff) | |
Accept was counted twice
| -rw-r--r-- | ot_http.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 ) |
