summaryrefslogtreecommitdiff
path: root/src/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ot_http.c')
-rw-r--r--src/ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ot_http.c b/src/ot_http.c
index 96b8f4e..533a876 100644
--- a/src/ot_http.c
+++ b/src/ot_http.c
@@ -414,7 +414,7 @@ static ssize_t http_handle_fullscrape(const int64_t sock, struct ot_workstruct *
414 pthread_mutex_unlock(&g_modest_fullscrape_mutex); 414 pthread_mutex_unlock(&g_modest_fullscrape_mutex);
415 HTTPERROR_500; 415 HTTPERROR_500;
416 } 416 }
417 if (exactmatch && (this_peer.last_fullscrape - new_peer->last_fullscrape) < OT_MODEST_PEER_TIMEOUT) { 417 if (exactmatch && time_since_seconds(new_peer->last_fullscrape) < OT_MODEST_PEER_TIMEOUT) {
418 pthread_mutex_unlock(&g_modest_fullscrape_mutex); 418 pthread_mutex_unlock(&g_modest_fullscrape_mutex);
419 HTTPERROR_402_NOTMODEST; 419 HTTPERROR_402_NOTMODEST;
420 } 420 }